spec/integration/bunny/bunny_adapter_spec.rb in message-driver-0.2.0.rc2 vs spec/integration/bunny/bunny_adapter_spec.rb in message-driver-0.2.0
- old
+ new
@@ -12,11 +12,11 @@
shared_examples "raises an error" do
it "raises an error" do
stub_const("Bunny::VERSION", version)
expect {
described_class.new(valid_connection_attrs)
- }.to raise_error MessageDriver::Error, "bunny 0.9.3 or later is required for the bunny adapter"
+ }.to raise_error MessageDriver::Error, "bunny 0.10.8 or later is required for the bunny adapter"
end
end
shared_examples "doesn't raise an error" do
it "doesn't raise an an error" do
stub_const("Bunny::VERSION", version)
@@ -24,16 +24,16 @@
expect {
adapter = described_class.new(valid_connection_attrs)
}.to_not raise_error
end
end
- %w(0.8.0 0.9.0.pre11 0.9.0.rc1 0.9.0 0.9.2).each do |v|
+ %w(0.8.0 0.9.0.pre11 0.9.0.rc1 0.9.0 0.9.2 0.9.8 0.10.7).each do |v|
context "bunny version #{v}" do
let(:version) { v }
include_examples "raises an error"
end
end
- %w(0.9.3 0.9.4 0.10.0 1.0.0.pre1).each do |v|
+ %w(0.10.8 1.0.0 1.0.3).each do |v|
context "bunny version #{v}" do
let(:version) { v }
include_examples "doesn't raise an error"
end
end