diff options
author | Lamont Granquist <lamont@opscode.com> | 2013-07-01 13:17:04 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@opscode.com> | 2013-07-01 13:17:04 -0700 |
commit | 54ee5d9218b111e1109ba58c884e50317c41f08e (patch) | |
tree | 255f9fed1cc4b5d4096a0e3bfd7e4f4c7635b600 /spec/functional/knife | |
parent | 089280172c97655c680396bbaa1b4dccb9948e03 (diff) | |
download | chef-54ee5d9218b111e1109ba58c884e50317c41f08e.tar.gz |
fix spec test for ruby-2.0
Diffstat (limited to 'spec/functional/knife')
-rw-r--r-- | spec/functional/knife/exec_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/knife/exec_spec.rb b/spec/functional/knife/exec_spec.rb index 5cb993c3ed..1bccbdeb7a 100644 --- a/spec/functional/knife/exec_spec.rb +++ b/spec/functional/knife/exec_spec.rb @@ -51,7 +51,7 @@ describe Chef::Knife::Exec do @node.name("ohai-world") response = {"rows" => [@node],"start" => 0,"total" => 1} @api.get(%r{^/search/node}, 200, response.to_json) - code = "$output.puts nodes.all.inspect" + code = "$output.puts nodes.all" @knife.config[:exec] = code @knife.run $output.string.should match(%r{node\[ohai-world\]}) |