test/shared_path_tests.rb in cap-util-1.0.0 vs test/shared_path_tests.rb in cap-util-1.0.1
- old
+ new
@@ -20,10 +20,10 @@
should "remove a given relative path with the `rm_rf` method" do
subject.rm_rf 'cached-copy'
exp_cmd = "rm -rf #{File.expand_path("tmp/shared/cached-copy")}"
- assert_equal [exp_cmd], @fake_cap.cmds_run.last
+ assert_equal exp_cmd, @fake_cap.cmds_run.last
end
end
end