spec/integration/async_request_processing.rb in goliath-1.0.5 vs spec/integration/async_request_processing.rb in goliath-1.0.6
- old
+ new
@@ -11,11 +11,11 @@
err = Proc.new { fail "API request failed" }
post_request(request_data, err) do |c|
resp = MultiJson.load(c.response)
- resp['body'].should match('some=data')
- resp['head'].should include('X-Upload')
+ expect(resp['body']).to match('some=data')
+ expect(resp['head']).to include('X-Upload')
end
end
end
end