Sha256: bcccf7bb5fc9eba91a6fd9e91c37a7fbfabaaf4427ebbd5b44d73fd4dec35ca3
Contents?: true
Size: 618 Bytes
Versions: 17
Compression:
Stored size: 618 Bytes
Contents
require "spec_helper" describe Bunny::Channel, "#open" do before :all do @connection = Bunny.new(:user => "bunny_gem", :password => "bunny_password", :vhost => "bunny_testbed") @connection.start end after :all do @connection.close if @connection.open? end it "properly resets channel exception state" do ch = @connection.create_channel begin ch.queue("bunny.tests.does.not.exist", :passive => true) rescue Bunny::NotFound # expected end # reopen the channel ch.open # should not raise q = ch.queue("bunny.tests.my.queue") q.delete end end
Version data entries
17 entries across 17 versions & 1 rubygems