aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-01-20 22:01:53 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-01-20 22:03:31 -0200
commite0cc7ab3ffba84e36aa57dbecbe7c1331c2adde5 (patch)
treee8a2f4be9ccfe43f477b08eccd0793ff15998f52 /actionpack/test/controller
parent5a69fe724e50377f13dc107733b765a53fc0c799 (diff)
downloadrails-e0cc7ab3ffba84e36aa57dbecbe7c1331c2adde5.tar.gz
rails-e0cc7ab3ffba84e36aa57dbecbe7c1331c2adde5.tar.bz2
rails-e0cc7ab3ffba84e36aa57dbecbe7c1331c2adde5.zip
Add missing assert calls
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/parameters/parameters_permit_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/parameters/parameters_permit_test.rb b/actionpack/test/controller/parameters/parameters_permit_test.rb
index 6270ea4a9f..303c13eb25 100644
--- a/actionpack/test/controller/parameters/parameters_permit_test.rb
+++ b/actionpack/test/controller/parameters/parameters_permit_test.rb
@@ -22,8 +22,8 @@ class ParametersPermitTest < ActiveSupport::TestCase
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