Sha256: 99f03a23a98129a6e87c54fea6d461192a059cadee4b2d09713108c3a2282160
Contents?: true
Size: 393 Bytes
Versions: 17
Compression:
Stored size: 393 Bytes
Contents
require 'spec_helper' describe 'logging' do it "should have a logger" do Dummy.respond_to?(:logger).should be_true end it "should be able to log debug methods" do Dummy.logger.respond_to?(:debug).should be_true end it "should be settable" do Dummy.respond_to?(:logger=).should be_true log = double() Dummy.logger = log Dummy.logger.should == log end end
Version data entries
17 entries across 17 versions & 1 rubygems