Sha256: b572d00268aa228cccdb816eb91904f2055bd38a2b29bab2ce10f6f06a0d8551

Contents?: true

Size: 317 Bytes

Versions: 10

Compression:

Stored size: 317 Bytes

Contents

require 'spec_helper'

describe SuckerPunch do
  describe 'logger' do
    it "delegates get to Celluloid's logger" do
      SuckerPunch.logger.should == Celluloid.logger
    end

    it "delegates set to Celluloid's logger" do
      Celluloid.should_receive(:logger=)
      SuckerPunch.logger = nil
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sucker_punch-1.1 spec/sucker_punch_spec.rb
sucker_punch-1.0.5 spec/sucker_punch_spec.rb
sucker_punch-1.0.4 spec/sucker_punch_spec.rb
sucker_punch-1.0.3 spec/sucker_punch_spec.rb
sucker_punch-1.0.2 spec/sucker_punch_spec.rb
sucker_punch-1.0.1 spec/sucker_punch_spec.rb
sucker_punch-1.0.0 spec/sucker_punch_spec.rb
sucker_punch-1.0.0.beta3 spec/sucker_punch_spec.rb
sucker_punch-1.0.0.beta2 spec/sucker_punch_spec.rb
sucker_punch-1.0.0.beta spec/sucker_punch_spec.rb