diff options
Diffstat (limited to 'spec/integration')
-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 4408c00b23..7800cf653d 100644 --- a/spec/integration/client/client_spec.rb +++ b/spec/integration/client/client_spec.rb @@ -366,26 +366,6 @@ EOM end end - when_the_repository "has a cookbook that uses chef-provisioning resources" do - before do - file "cookbooks/x/recipes/default.rb", <<-EOM - with_driver 'blah' - EOM - file "config/client.rb", <<-EOM - local_mode true - cookbook_path "#{path_to('cookbooks')}" - EOM - end - - it "the cheffish DSL tries to load but fails (because chef-provisioning is not there)" do - # we'd need to have a custom bundle to fix this that omitted chef-provisioning, but that would dig our crazy even deeper, so lets not - skip "but if chef-provisioning is in our bundle or in our gemset then this test, very annoyingly, always fails" - command = shell_out("#{chef_client} -c \"#{path_to('config/client.rb')}\" -o 'x::default' --no-fork", cwd: chef_dir) - expect(command.exitstatus).to eql(1) - expect(command.stdout).to match(/cannot load such file -- chef\/provisioning/) - end - end - when_the_repository "has a cookbook that generates deprecation warnings" do before do file "cookbooks/x/recipes/default.rb", <<-EOM |