spec/unit/berkshelf/config_spec.rb in berkshelf-3.0.0.beta4 vs spec/unit/berkshelf/config_spec.rb in berkshelf-3.0.0.beta5
- old
+ new
@@ -1,24 +1,24 @@
require 'spec_helper'
describe Berkshelf::Config do
- describe '.file' do
+ describe '::file' do
context 'when the file does not exist' do
before { File.stub(:exists?).and_return(false) }
it 'is nil' do
expect(Berkshelf::Config.file).to be_nil
end
end
end
- describe '.instance' do
+ describe '::instance' do
it 'should be a Berkshelf::Config' do
expect(Berkshelf::Config.instance).to be_an_instance_of(Berkshelf::Config)
end
end
- describe '.path' do
+ describe '::path' do
it 'is a string' do
expect(Berkshelf::Config.path).to be_a(String)
end
before do