Sha256: 1f83af29e561675896948c30b061022e3e44da9e6b40762b9a540747d07fb705

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

# encoding: utf-8
#
require 'spec_helper'

describe Picky::Loggers::Search do
  
  before(:each) do
    @destination = stub :destination
    @logger      = described_class.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

1 entries across 1 versions & 1 rubygems

Version Path
picky-3.0.0.pre1 spec/lib/loggers/search_spec.rb