spec/integration/keepalive_spec.rb in goliath-1.0.5 vs spec/integration/keepalive_spec.rb in goliath-1.0.6
- old
+ new
@@ -8,16 +8,16 @@
r1 = conn.get(:query => {:echo => 'test'}, :keepalive => true)
r1.errback { fail }
r1.callback do |c|
b = MultiJson.load(c.response)
- b['response'].should == 'test'
+ expect(b['response']).to eq('test')
r2 = conn.get(:query => {:echo => 'test2'})
r2.errback { fail }
r2.callback do |c|
b = MultiJson.load(c.response)
- b['response'].should == 'test2'
+ expect(b['response']).to eq('test2')
stop
end
end
end