Sha256: a50a72cab8546b736c04a25f555f96854dba624b6a5ff590a34bc258ca954686
Contents?: true
Size: 502 Bytes
Versions: 17
Compression:
Stored size: 502 Bytes
Contents
require "spec_helper" describe "amq.* exchanges" do let(:connection) do c = Bunny.new(:user => "bunny_gem", :password => "bunny_password", :vhost => "bunny_testbed") c.start c end after :each do connection.close if connection.open? end it "are predeclared" do ch = connection.create_channel ["amq.fanout", "amq.direct", "amq.topic", "amq.match", "amq.headers"].each do |e| x = ch.exchange(e) expect(x).to be_predeclared end ch.close end end
Version data entries
17 entries across 17 versions & 1 rubygems