Sha256: 5db30b3ff6ac8cba22959384979850f9bff35a37409f340b12628f0e16adc1b4

Contents?: true

Size: 381 Bytes

Versions: 9

Compression:

Stored size: 381 Bytes

Contents

require 'spec_helper'

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

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

  it "should be settable" do
    expect(Dummy).to respond_to(:logger=)
    log = double
    Dummy.logger = log
    expect(Dummy.logger).to eq(log)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vertebrae-0.6.0 spec/logger_spec.rb
vertebrae-0.5.1 spec/logger_spec.rb
vertebrae-0.5.0 spec/logger_spec.rb
vertebrae-0.4.3 spec/logger_spec.rb
vertebrae-0.4.2 spec/logger_spec.rb
vertebrae-0.4.1 spec/logger_spec.rb
vertebrae-0.4.0 spec/logger_spec.rb
vertebrae-0.3.1 spec/logger_spec.rb
vertebrae-0.3.0 spec/logger_spec.rb