From e0cc7ab3ffba84e36aa57dbecbe7c1331c2adde5 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Sun, 20 Jan 2013 22:01:53 -0200 Subject: Add missing assert calls --- actionpack/test/controller/parameters/parameters_permit_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/test/controller') 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 -- cgit v1.2.3