spec/amqp_spec.rb in em-synchrony-1.0.4 vs spec/amqp_spec.rb in em-synchrony-1.0.5

- old
+ new

@@ -3,19 +3,19 @@ describe EM::Synchrony::AMQP do it "should yield until connection is ready" do EM.synchrony do connection = EM::Synchrony::AMQP.connect - connection.connected?.should be_true + connection.connected?.should eq(true) EM.stop end end it "should yield until disconnection is complete" do EM.synchrony do connection = EM::Synchrony::AMQP.connect connection.disconnect - connection.connected?.should be_false + connection.connected?.should eq(false) EM.stop end end it "should yield until the channel is created" do