summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorjmink <jmink@getchef.com>2014-06-27 11:05:43 -0400
committerjmink <jmink@getchef.com>2014-06-27 11:18:01 -0400
commita1347e8aabf7f333f54778c44ad10e6edb9426cb (patch)
tree9e0ac33e1106bedc8d711391a77b9dc2ef6594d7 /spec
parentf6ad81f40d7e31f9227fa2996d1f7025b7e8dc1a (diff)
downloadchef-a1347e8aabf7f333f54778c44ad10e6edb9426cb.tar.gz
Hack around system differences for travis test
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/knife/cookbook_site_share_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/cookbook_site_share_spec.rb b/spec/unit/knife/cookbook_site_share_spec.rb
index b1930f2d2c..9eff23350b 100644
--- a/spec/unit/knife/cookbook_site_share_spec.rb
+++ b/spec/unit/knife/cookbook_site_share_spec.rb
@@ -77,7 +77,7 @@ describe Chef::Knife::CookbookSiteShare do
it 'should make a tarball of the cookbook' do
Chef::Mixin::ShellOut.should_receive(:shell_out!) do |args|
- args.should match /tar -czf/
+ args.to_s.should match /tar -czf/
end
@knife.run
end