Sha256: 99f03a23a98129a6e87c54fea6d461192a059cadee4b2d09713108c3a2282160

Contents?: true

Size: 393 Bytes

Versions: 17

Compression:

Stored size: 393 Bytes

Contents

require 'spec_helper'

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

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

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
vertebrae-0.2.10 spec/logger_spec.rb
vertebrae-0.2.9 spec/logger_spec.rb
vertebrae-0.2.8 spec/logger_spec.rb
vertebrae-0.2.7 spec/logger_spec.rb
vertebrae-0.2.6 spec/logger_spec.rb
vertebrae-0.2.5 spec/logger_spec.rb
vertebrae-0.2.4 spec/logger_spec.rb
vertebrae-0.2.2 spec/logger_spec.rb
vertebrae-0.2.1 spec/logger_spec.rb
vertebrae-0.2.0 spec/logger_spec.rb
vertebrae-0.1.6 spec/logger_spec.rb
vertebrae-0.1.5 spec/logger_spec.rb
vertebrae-0.1.4 spec/logger_spec.rb
vertebrae-0.1.3 spec/logger_spec.rb
vertebrae-0.1.2 spec/logger_spec.rb
vertebrae-0.1.1 spec/logger_spec.rb
vertebrae-0.1.0 spec/logger_spec.rb