spec/ninja_model_spec.rb in ninja-model-0.6.2 vs spec/ninja_model_spec.rb in ninja-model-0.7.0

- old
+ new

@@ -2,10 +2,12 @@ describe NinjaModel do it { NinjaModel.should respond_to(:logger) } it 'should accept a logger' do + orig_logger = NinjaModel.logger logger = mock('logger') NinjaModel.set_logger(logger) NinjaModel.logger.should eql(logger) + NinjaModel.set_logger(orig_logger) end end