diff --git a/spec/unit/target_host/aix_spec.rb b/spec/unit/target_host/aix_spec.rb index 36697c163..881d8d4e5 100644 --- a/spec/unit/target_host/aix_spec.rb +++ b/spec/unit/target_host/aix_spec.rb @@ -16,8 +16,8 @@ context "#make_temp_dir" do it "creates the directory using a properly formed make_temp_dir" do expect(subject).to receive(:run_command!) - .with("bash -c '#{ChefApply::TargetHost::Aix::MKTEMP_COMMAND}'") - .and_return(instance_double("result", stdout: "/tmp/blah")) + .with("bash -c '#{ChefApply::TargetHost::Aix::MKTEMP_COMMAND}'") + .and_return(instance_double("result", stdout: "/tmp/blah")) expect(subject.make_temp_dir).to eq "/tmp/blah" end end