diff options
| author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-07-30 23:35:30 -0300 |
|---|---|---|
| committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-07-30 23:41:19 -0300 |
| commit | 29a6a17a11cd98f18ad46e882cc8f7fd669de59f (patch) | |
| tree | d51028412a4065bc94ceafb67510627944430482 /actionpack/test/controller/parameters/always_permitted_parameters_test.rb | |
| parent | 811604f3f76294662854fbdbd3abc4e8e11d9685 (diff) | |
| download | rails-29a6a17a11cd98f18ad46e882cc8f7fd669de59f.tar.gz rails-29a6a17a11cd98f18ad46e882cc8f7fd669de59f.tar.bz2 rails-29a6a17a11cd98f18ad46e882cc8f7fd669de59f.zip | |
Properly assert for the expected messages
The message passed to Minitest's assert_raise is used as output in case
the assertion fails, but we can test against the exact message by using
the actual exception object that is returned from the assert_raise call.
Diffstat (limited to 'actionpack/test/controller/parameters/always_permitted_parameters_test.rb')
0 files changed, 0 insertions, 0 deletions
