Sha256: 245d0ac7aab3cf53d9cbcd7e49a2306af3bb2849ae29be2168d0531764f0fd58
Contents?: true
Size: 354 Bytes
Versions: 79
Compression:
Stored size: 354 Bytes
Contents
# encoding: utf-8 # require 'spec_helper' describe Loggers::Search do before(:each) do @destination = stub :destination @logger = Loggers::Search.new @destination end describe "log" do it "should delegate to info" do @destination.should_receive(:info).once.with 'test' @logger.log 'test' end end end
Version data entries
79 entries across 79 versions & 1 rubygems