Sha256: ff15bd8194b407ee49b5c9c2d7165b93a1e88feeceff858e587401a9921b7467
Contents?: true
Size: 435 Bytes
Versions: 9
Compression:
Stored size: 435 Bytes
Contents
require 'spec_helper' require 'magic_grid/logger' describe MagicGrid do it "should user the specified logger" do logger = double.tap do |l| l.should_receive(:debug) l.should_receive(:warn) l.should_receive(:error) end MagicGrid.logger = logger MagicGrid.logger.warn "Something is afoot" MagicGrid.logger.error "Something is really wrong" MagicGrid.logger.debug "Something is foo" end end
Version data entries
9 entries across 9 versions & 1 rubygems