Skip to content
Browse files

Add missing assert calls

  • Loading branch information...
1 parent 5a69fe7 commit e0cc7ab3ffba84e36aa57dbecbe7c1331c2adde5 @carlosantoniodasilva carlosantoniodasilva committed Jan 20, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/controller/parameters/parameters_permit_test.rb
View
4 actionpack/test/controller/parameters/parameters_permit_test.rb
@@ -22,8 +22,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
test 'key: permitted scalar values' do

0 comments on commit e0cc7ab

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