diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-04-30 17:25:07 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-04-30 17:25:07 -0700 |
commit | 6acd2f2ce39102a91d84d8579e4ef3aba35e5a87 (patch) | |
tree | 77198202e6c9ffde9af6aeae41e41a535d05ff61 | |
parent | 91858e576fd4cbfb3c268b0fc5ebd76b2236ef0c (diff) | |
download | chef-lcg/remove-ruby-prof-testing.tar.gz |
remove ruby-prof testinglcg/remove-ruby-prof-testing
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-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 |