diff options
author | Tim Smith <tsmith@chef.io> | 2021-04-30 16:32:17 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2021-04-30 16:32:17 -0700 |
commit | 8882d69f8bedc2e8addda476b631a57569d50aba (patch) | |
tree | 77198202e6c9ffde9af6aeae41e41a535d05ff61 /spec | |
parent | 91858e576fd4cbfb3c268b0fc5ebd76b2236ef0c (diff) | |
download | chef-8882d69f8bedc2e8addda476b631a57569d50aba.tar.gz |
Remove profile-ruby testsprofile_ruby
This test requires the gem and we removed the gem so we need to remove
the test
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/integration/client/client_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/integration/client/client_spec.rb b/spec/integration/client/client_spec.rb index 23cf8f0349..ecd8ec5bb5 100644 --- a/spec/integration/client/client_spec.rb +++ b/spec/integration/client/client_spec.rb @@ -349,26 +349,6 @@ describe "chef-client" do expect(result.stdout).to include("Run List is [recipe[x::default]]") result.error! end - - it "should complete with success when using --profile-ruby and output a profile file", :not_supported_on_aix do - file "config/client.rb", <<~EOM - local_mode true - cookbook_path "#{path_to("cookbooks")}" - EOM - result = shell_out!("#{chef_client} -c \"#{path_to("config/client.rb")}\" -o 'x::default' -z --profile-ruby", cwd: chef_dir) - result.error! - expect(File.exist?(path_to("config/local-mode-cache/cache/graph_profile.out"))).to be true - end - - it "doesn't produce a profile when --profile-ruby is not present" do - file "config/client.rb", <<~EOM - local_mode true - cookbook_path "#{path_to("cookbooks")}" - EOM - result = shell_out!("#{chef_client} -c \"#{path_to("config/client.rb")}\" -o 'x::default' -z", cwd: chef_dir) - result.error! - expect(File.exist?(path_to("config/local-mode-cache/cache/graph_profile.out"))).to be false - end end when_the_repository "has a cookbook that outputs some node attributes" do |