Skip to content
Browse files

Merge pull request #183 from tiegz/tiny_test_fix

Add two missing asserts in NestedParametersTest
  • Loading branch information...
2 parents 1af78f0 + f3f1062 commit b53893bea88f20c6bf5e09703ea17a4ca456cacf @carlosantoniodasilva carlosantoniodasilva committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/parameters_permit_test.rb
View
4 test/parameters_permit_test.rb
@@ -16,8 +16,8 @@ def assert_filtered_out(params, key)
test 'if nothing is permitted, the hash becomes empty' do
params = ActionController::Parameters.new(:id => '1234')
permitted = params.permit
- permitted.permitted?
- permitted.empty?
+ assert permitted.permitted?
+ assert permitted.empty?
end
# --- key --------------------------------------------------------------------

0 comments on commit b53893b

Please sign in to comment.
Something went wrong with that request. Please try again.