Sha256: 21552bb203b65cef10d8a3047276cac639ad10c6a1083b2c7c0a5184f7a1a820

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

require 'rabbit_rpc'

describe RabbitRPC::Logging do
  let(:random_class) do
    class RandomClass
      include RabbitRPC::Logging
    end
  end

  it 'grants the class and its objects the ability to log' do
    random_class.logger.should be_instance_of Logger
    random_class.new.logger.should be_instance_of Logger
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rabbit_rpc-0.0.2 spec/logging_spec.rb