Skip to content

Conversation

tgxworld
Copy link
Contributor

@tgxworld tgxworld commented Aug 8, 2014

No description provided.

post :no_op, :foo => "bar"
assert_equal "bar", @request.params[:foo]
@request.recycle!
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calling @request.recycle! here defeats the purpose of serving another request after to ensure that the params reset. It should be the responsibility of AC::TestCase::Behavior#process to call @request.recycle!.

@tgxworld
Copy link
Contributor Author

tgxworld commented Aug 8, 2014

Failure in Travis is unrelated to this pull request

spastorino added a commit that referenced this pull request Aug 8, 2014
@spastorino spastorino merged commit 7a3d8e2 into rails:master Aug 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants