File: constants_spec.rb

package info (click to toggle)
ruby-amq-protocol 2.3.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 520 kB
  • sloc: ruby: 5,225; python: 248; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
RSpec.describe "(Some) AMQ::Protocol constants" do
  it "include regular port" do
    expect(AMQ::Protocol::DEFAULT_PORT).to eq(5672)
  end

  it "provides TLS/SSL port" do
    expect(AMQ::Protocol::TLS_PORT).to eq(5671)
    expect(AMQ::Protocol::SSL_PORT).to eq(5671)
  end
end