Skip to content

Commit

Permalink
no set_rack_input needed on master (1.1-stable merge conflict resolut…
Browse files Browse the repository at this point in the history
…ion relic)
  • Loading branch information
kares committed Jan 17, 2015
1 parent 5c060ae commit 7ee04a3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/spec/ruby/rack/handler/servlet_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ def getAttributeNames
servlet_request.addParameter('foo[meh[]]', '42')
servlet_request.addParameter('huh[1]', 'b')
servlet_request.addParameter('huh[0]', 'a')
set_rack_input @servlet_env # due rack_request.POST

env = servlet.create_env(@servlet_env)
rack_request = Rack::Request.new(env)
Expand All @@ -444,7 +443,6 @@ def getAttributeNames
servlet_request.setQueryString 'foo[]=0&foo[bar]=1'
servlet_request.addParameter('foo[]', '0')
servlet_request.addParameter('foo[bar]', '1')
set_rack_input @servlet_env # due rack_request.POST

env = servlet.create_env(@servlet_env)
rack_request = Rack::Request.new(env)
Expand Down Expand Up @@ -1073,7 +1071,6 @@ def servlet.create_env(servlet_env)
# Query params :
servlet_request.addParameter('foo', 'bar')
servlet_request.addParameter('quux', 'b;la')
set_rack_input servlet_env # due rack_request.POST

env = servlet.create_env(servlet_env)
rack_request = Rack::Request.new(env)
Expand Down

0 comments on commit 7ee04a3

Please sign in to comment.