File: bunny_spec.rb

package info (click to toggle)
ruby-bunny 2.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,644 kB
  • sloc: ruby: 10,256; sh: 70; makefile: 8
file content (15 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require "spec_helper"

describe Bunny do
  it "has library version" do
    expect(Bunny::VERSION).not_to be_nil
    expect(Bunny.version).not_to be_nil
  end


  it "has AMQP protocol version" do
    expect(Bunny::PROTOCOL_VERSION).to eq "0.9.1"
    expect(AMQ::Protocol::PROTOCOL_VERSION).to eq "0.9.1"
    expect(Bunny.protocol_version).to eq "0.9.1"
  end
end