spec/punchblock/client_spec.rb in punchblock-0.9.2 vs spec/punchblock/client_spec.rb in punchblock-0.10.0

- old
+ new

@@ -1,5 +1,7 @@ +# encoding: utf-8 + require 'spec_helper' module Punchblock describe Client do let(:connection) { Connection::XMPP.new :username => '1@call.rayo.net', :password => 1 } @@ -79,10 +81,10 @@ end context 'if event handlers have not been set' do it 'should queue up the event' do subject.handle_event mock_event - subject.event_queue.pop(true).should == mock_event + subject.event_queue.pop(true).should be == mock_event end end end end