diff options
author | Christopher A. Snapp <csnapp@chef.io> | 2020-07-13 12:26:11 -0600 |
---|---|---|
committer | Christopher A. Snapp <csnapp@chef.io> | 2020-07-13 14:07:11 -0600 |
commit | 3416ac6d7a0c83f69a38d10b5b001471f9e91a09 (patch) | |
tree | 992dd2b06466e17103d32fe9f360a4df9d2055dd | |
parent | 2b8f056cacccfd885357f89bf2033cd1ca52cd21 (diff) | |
download | chef-3416ac6d7a0c83f69a38d10b5b001471f9e91a09.tar.gz |
add a label to the shell specscsnapp/9282
These fail in the Habitat plan verification tests because bundle isn't
on the PATH in the same way as previously discovered in the version
specs in commit 3f2d235ac75.
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
-rw-r--r-- | spec/functional/shell_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/functional/shell_spec.rb b/spec/functional/shell_spec.rb index 583440d2b6..2289df3ef1 100644 --- a/spec/functional/shell_spec.rb +++ b/spec/functional/shell_spec.rb @@ -97,13 +97,13 @@ describe Shell do [output, e.status] end - it "boots correctly with -lauto" do + it "boots correctly with -lauto", :executables do output, exitstatus = run_chef_shell_with("-lauto") expect(output).to include("done") expect(exitstatus).to eq(0) end - it "sets the log_level from the command line" do + it "sets the log_level from the command line", :executables do output, exitstatus = run_chef_shell_with("-lfatal") do |out, keyboard| show_log_level_code = %q[puts "===#{Chef::Log.level}==="] keyboard.puts(show_log_level_code) @@ -114,13 +114,13 @@ describe Shell do end context "on solo mode" do - it "starts correctly" do + it "starts correctly", :executables do output, exitstatus = run_chef_shell_with("--solo") expect(output).to include("done") expect(exitstatus).to eq(0) end - it "should be able to use the API" do + it "should be able to use the API", :executables do output, exitstatus = run_chef_shell_with("-s") do |out, keyboard| simple_api_get = "api.get('data')" keyboard.puts(simple_api_get) @@ -131,7 +131,7 @@ describe Shell do end end - it "sets the override_runlist from the command line" do + it "sets the override_runlist from the command line", :executables do output, exitstatus = run_chef_shell_with("-o 'override::foo,override::bar'") do |out, keyboard| show_recipes_code = %q[puts "#{node["recipes"].inspect}"] keyboard.puts(show_recipes_code) |