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.1.5 spec/lib/loggers/search_spec.rb
picky-1.1.4 spec/lib/loggers/search_spec.rb
picky-1.1.3 spec/lib/loggers/search_spec.rb
picky-1.1.2 spec/lib/loggers/search_spec.rb
picky-1.1.1 spec/lib/loggers/search_spec.rb
picky-1.1.0 spec/lib/loggers/search_spec.rb
picky-1.0.0 spec/lib/loggers/search_spec.rb
picky-0.12.3 spec/lib/loggers/search_spec.rb
picky-0.12.2 spec/lib/loggers/search_spec.rb
picky-0.12.1 spec/lib/loggers/search_spec.rb
picky-0.12.0 spec/lib/loggers/search_spec.rb
picky-0.11.2 spec/lib/loggers/search_spec.rb
picky-0.11.1 spec/lib/loggers/search_spec.rb
picky-0.11.0 spec/lib/loggers/search_spec.rb
picky-0.10.5 spec/lib/loggers/search_spec.rb
picky-0.10.4 spec/lib/loggers/search_spec.rb
picky-0.10.2 spec/lib/loggers/search_spec.rb
picky-0.10.1 spec/lib/loggers/search_spec.rb
picky-0.10.0 spec/lib/loggers/search_spec.rb
picky-0.9.4 spec/lib/loggers/search_spec.rb