Sha256: d81ff368718ea11ff1f8b0169b32a270fbba5de112a14df9c8c7597e43a31b20
Contents?: true
Size: 532 Bytes
Versions: 2
Compression:
Stored size: 532 Bytes
Contents
describe BunnyMock do context '::new' do it 'should return a new session' do expect(BunnyMock.new.class).to eq(BunnyMock::Session) end end context '::version' do it 'should return the current version' do expect(BunnyMock::VERSION).to_not be_nil expect(BunnyMock.version).to_not be_nil end end context '::protocol_version' do it 'should return the current amq protocol version' do expect(BunnyMock::PROTOCOL_VERSION).to eq('0.9.1') expect(BunnyMock.protocol_version).to eq('0.9.1') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bunny-mock-1.2.2 | spec/unit/bunny_mock_spec.rb |
bunny-mock-1.2.1 | spec/unit/bunny_mock_spec.rb |