spec/unit/berkshelf_spec.rb in berkshelf-3.0.0.beta4 vs spec/unit/berkshelf_spec.rb in berkshelf-3.0.0.beta5
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
describe Berkshelf do
- describe '.formatter' do
+ describe '::formatter' do
context 'with default formatter' do
before { Berkshelf.instance_variable_set(:@formatter, nil) }
it 'should be human readable' do
expect(Berkshelf.formatter).to be_an_instance_of(Berkshelf::Formatters::HumanReadable)
@@ -28,10 +28,10 @@
expect(Berkshelf.formatter).to be_an_instance_of(CustomFormatter)
end
end
end
- describe '.log' do
+ describe '::log' do
it 'returns Berkshelf::Logger' do
expect(Berkshelf.log).to eq(Berkshelf::Logger)
end
end
end