spec/integration/chunked_streaming_spec.rb in goliath-1.0.5 vs spec/integration/chunked_streaming_spec.rb in goliath-1.0.6
- old
+ new
@@ -25,10 +25,10 @@
let(:err) { Proc.new { |c| fail "HTTP Request failed #{c.response}" } }
it "should stream content" do
with_api(ChunkedStreaming, {:verbose => true, :log_stdout => true}) do |server|
streaming_client_connect('/streaming') do |client|
- client.receive.should == "chunked"
+ expect(client.receive).to eq("chunked")
end
end
end
end