diff --git a/spec/support/integration_servers.rb b/spec/support/integration_servers.rb index 36ae85acc..4b43569c6 100644 --- a/spec/support/integration_servers.rb +++ b/spec/support/integration_servers.rb @@ -4,7 +4,7 @@ module Integration class Streaming < Grape::API - get '/stream', stream: true do + get '/stream', :stream => true do status 202 count = 0 EM.add_timer(0.1) {flush "ohai "}