Skip to content
This repository has been archived by the owner on Feb 13, 2018. It is now read-only.

Commit

Permalink
Use new rails 5 controller testing API
Browse files Browse the repository at this point in the history
Instead of `post :action, param_1: value_1, param_1: value_2` rails 5
prefers `post :action, params: { param_1: value_1, param_2: value_2 }`
which is more explicit.
  • Loading branch information
h-lame committed May 23, 2017
1 parent 158be09 commit ff2add2
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 70 deletions.

0 comments on commit ff2add2

Please sign in to comment.