Skip to content

Commit

Permalink
linting with chefstyle
Browse files Browse the repository at this point in the history
Signed-off-by: Pranay Singh <[email protected]>
  • Loading branch information
i5pranay93 committed Jan 11, 2022
1 parent ce58edc commit 40c77ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/target_host/aix_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40c77ab

Please sign in to comment.