Sha256: 8998fdeb5962771127f4ee4c4d264a07fa856b09bdfe9f75eacabcdaa4aa1f30
Contents?: true
Size: 334 Bytes
Versions: 10
Compression:
Stored size: 334 Bytes
Contents
require 'helper' describe Toy::Logger do uses_objects('User') before do @logger = Toy.logger end after do Toy.logger = @logger end it "should use Toy.logger for class" do User.logger.should == Toy.logger end it "should use Toy.logger for instance" do User.new.logger.should == Toy.logger end end
Version data entries
10 entries across 10 versions & 1 rubygems