Sha256: d51a5aedc0ad7c1cbb62b59f06b6d32484d45cd4febde4e063864667fe3cbb6a
Contents?: true
Size: 315 Bytes
Versions: 19
Compression:
Stored size: 315 Bytes
Contents
require 'spec_helper' 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
Version data entries
19 entries across 19 versions & 1 rubygems