spec/acfs/configuration_spec.rb in acfs-0.25.0.1.b227 vs spec/acfs/configuration_spec.rb in acfs-0.25.0.1.b228
- old
+ new
@@ -6,10 +6,10 @@
before { @configuration = Acfs::Configuration.current.dup }
after { Acfs::Configuration.set @configuration }
describe 'Acfs.configure' do
it 'should invoke configure on current configuration' do
- Acfs::Configuration.current.should_receive(:configure).once.and_call_original
+ expect(Acfs::Configuration.current).to receive(:configure).once.and_call_original
Acfs.configure do |c|
expect(c).to be_a Acfs::Configuration
end
end