Permalink
Browse files

Add two missing asserts in NestedParametersTest

  • Loading branch information...
1 parent 1af78f0 commit f3f106277349a6caec266caf16715ccf761e9340 @tiegz tiegz committed Dec 11, 2013
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 f3f1062

Please sign in to comment.