Sha256: 36b940a56cf81f8886fb1913d2071b10ae2c22016d5df4cc2efcbd86ff1e40c7

Contents?: true

Size: 399 Bytes

Versions: 1

Compression:

Stored size: 399 Bytes

Contents

require 'spec_helper'

describe 'logging' do
  it "should have a logger" do
    Dummy.respond_to?(:logger).should be_truthy
  end

  it "should be able to log debug methods" do
    Dummy.logger.respond_to?(:debug).should be_truthy
  end

  it "should be settable" do
    Dummy.respond_to?(:logger=).should be_truthy
    log = double()
    Dummy.logger = log
    Dummy.logger.should == log
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vertebrae-0.2.11 spec/logger_spec.rb