diff options
Diffstat (limited to 'spec/functional/knife/exec_spec.rb')
-rw-r--r-- | spec/functional/knife/exec_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/knife/exec_spec.rb b/spec/functional/knife/exec_spec.rb index 7eb52d01df..0a9177b5e8 100644 --- a/spec/functional/knife/exec_spec.rb +++ b/spec/functional/knife/exec_spec.rb @@ -41,7 +41,7 @@ describe Chef::Knife::Exec do @server.stop end - pending "executes a script in the context of the chef-shell main context", :ruby_18_only + skip "executes a script in the context of the chef-shell main context", :ruby_18_only it "executes a script in the context of the chef-shell main context", :ruby_gte_19_only do @node = Chef::Node.new @@ -51,7 +51,7 @@ describe Chef::Knife::Exec do code = "$output.puts nodes.all" @knife.config[:exec] = code @knife.run - $output.string.should match(%r{node\[ohai-world\]}) + expect($output.string).to match(%r{node\[ohai-world\]}) end end |