Sha256: 27fd74bdd28752bdd4f78f4dc86218dda1a46abb409c787ff99e0278cfe284dd

Contents?: true

Size: 227 Bytes

Versions: 1

Compression:

Stored size: 227 Bytes

Contents

require 'spec_helper'
require 'logger'

describe Shoes::Logger::Ruby do
  it "delegates to a Logger instance" do
    ::Logger.any_instance.should_receive(:debug).with("Foo bar baz!")
    subject.debug("Foo bar baz!")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.pre1 spec/shoes/logger/ruby_spec.rb