diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-18 13:07:11 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-18 13:07:11 -0700 |
commit | 52bae21e8c2e59feade58ca2f89a08ebaf94e37c (patch) | |
tree | c801d072acdef6f01bcc1ef5e0a7abaf610fa235 | |
parent | ca5f5b5fa9484e6971436beef6d89a28cf3745ca (diff) | |
download | chef-52bae21e8c2e59feade58ca2f89a08ebaf94e37c.tar.gz |
just check for exit != 0
-rw-r--r-- | spec/integration/client/client_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/client/client_spec.rb b/spec/integration/client/client_spec.rb index 1a97acb561..8bba6b991a 100644 --- a/spec/integration/client/client_spec.rb +++ b/spec/integration/client/client_spec.rb @@ -362,7 +362,7 @@ EOM it 'should fail when passed --recipe-url and not passed -z' do result = shell_out("#{chef_client} --recipe-url=http://localhost:9000/recipes.tgz", :cwd => tmp_dir) - expect(result.exitstatus).to eq(1) + expect(result.exitstatus).not_to eq(0) end end end |