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

Version Path
picky-1.5.3 spec/lib/loggers/search_spec.rb
picky-1.5.2 spec/lib/loggers/search_spec.rb
picky-1.5.1 spec/lib/loggers/search_spec.rb
picky-1.5.0 spec/lib/loggers/search_spec.rb
picky-1.4.3 spec/lib/loggers/search_spec.rb
picky-1.4.2 spec/lib/loggers/search_spec.rb
picky-1.4.1 spec/lib/loggers/search_spec.rb
picky-1.4.0 spec/lib/loggers/search_spec.rb
picky-1.3.4 spec/lib/loggers/search_spec.rb
picky-1.3.3 spec/lib/loggers/search_spec.rb
picky-1.3.2 spec/lib/loggers/search_spec.rb
picky-1.3.1 spec/lib/loggers/search_spec.rb
picky-1.3.0 spec/lib/loggers/search_spec.rb
picky-1.2.4 spec/lib/loggers/search_spec.rb
picky-1.2.3 spec/lib/loggers/search_spec.rb
picky-1.2.2 spec/lib/loggers/search_spec.rb
picky-1.2.1 spec/lib/loggers/search_spec.rb
picky-1.2.0 spec/lib/loggers/search_spec.rb
picky-1.1.7 spec/lib/loggers/search_spec.rb
picky-1.1.6 spec/lib/loggers/search_spec.rb