Skip to content

Commit bf33bc7

Browse files
committed
fix broken method expectation
1 parent a575948 commit bf33bc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎chef/spec/unit/knife/cookbook_test_spec.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
@knife.name_args = ["example"]
5454
Array(Chef::Config[:cookbook_path]).reverse.each do |path|
5555
@knife.should_receive(:test_ruby).with(File.join(path, "example"))
56-
@knife.should_receive(:test_templates).with(File.join(path, "example"))
56+
@knife.should_receive(:test_templates).with(File.expand_path(File.join(path, "example")))
5757
end
5858
@knife.run
5959
end

0 commit comments

Comments
 (0)