Sha256: a8a8115c5e9afd5d7078b99625b238ce581f2897a5ad84c372a975e271754df8

Contents?: true

Size: 325 Bytes

Versions: 7

Compression:

Stored size: 325 Bytes

Contents

require 'spec_helper'

describe SuckerPunch do
  describe 'logger' do
    it "delegates get to Celluloid's logger" do
      expect(SuckerPunch.logger).to eq Celluloid.logger
    end

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sucker_punch-1.6.0 spec/sucker_punch_spec.rb
sucker_punch-1.4.0 spec/sucker_punch_spec.rb
sucker_punch-1.3.2 spec/sucker_punch_spec.rb
sucker_punch-1.3.1 spec/sucker_punch_spec.rb
sucker_punch-1.3.0 spec/sucker_punch_spec.rb
sucker_punch-1.2.1 spec/sucker_punch_spec.rb
sucker_punch-1.2 spec/sucker_punch_spec.rb