spec/unit/berkshelf/config_spec.rb in berkshelf-7.0.4 vs spec/unit/berkshelf/config_spec.rb in berkshelf-7.0.5

- old
+ new

@@ -20,14 +20,11 @@ validation_client_name: "validator", validation_key: "validator.pem", client_key: "client-key", node_name: "fake-client", trusted_certs_dir: "/tmp/fakecerts", - artifactory_api_key: "secret", - cookbook_copyright: "user", - cookbook_email: "user@example.com", - cookbook_license: "apachev2" + artifactory_api_key: "secret" ) end before do allow(Berkshelf).to receive(:chef_config).and_return(chef_config) @@ -42,19 +39,9 @@ trusted_certs_dir: "/tmp/fakecerts", artifactory_api_key: "secret", }.each do |attr, default| it "should have a default chef.#{attr}" do expect(Berkshelf::Config.instance.chef.send(attr)).to eq(default) - end - end - - { - copyright: "user", - email: "user@example.com", - license: "apachev2", - }.each do |attr, default| - it "should have a default cookbook.#{attr}" do - expect(Berkshelf::Config.instance.cookbook.send(attr)).to eq(default) end end end end