spec/unit/berkshelf/config_spec.rb in berkshelf-5.0.0 vs spec/unit/berkshelf/config_spec.rb in berkshelf-5.1.0

- old
+ new

@@ -13,9 +13,15 @@ describe '::instance' do it 'should be a Berkshelf::Config' do expect(Berkshelf::Config.instance).to be_an_instance_of(Berkshelf::Config) end + + context 'attributes' do + it 'should have a default API timeout' do + expect(Berkshelf::Config.instance.api.timeout).to eq('30') + end + end end describe '::path' do it 'is a string' do expect(Berkshelf::Config.path).to be_a(String)