summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/functional/shell_spec.rb10
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)