diff options
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/base_test.rb (renamed from actionpack/test/controller/base_tests.rb) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/base_tests.rb b/actionpack/test/controller/base_test.rb index ef0a9ab69d..84ca1673e7 100644 --- a/actionpack/test/controller/base_tests.rb +++ b/actionpack/test/controller/base_test.rb @@ -66,7 +66,7 @@ class ControllerInstanceTests < Test::Unit::TestCase end def test_action_methods - @empty_controllers.each {|c| assert_equal [], c.send(:action_methods), "#{c.class.controller_path} should be empty!"} - @non_empty_controllers.each {|c| assert_equal ["public_action"], c.send(:action_methods), "#{c.class.controller_path} should not be empty!"} + @empty_controllers.each {|c| assert_equal({}, c.send(:action_methods), "#{c.class.controller_path} should be empty!")} + @non_empty_controllers.each {|c| assert_equal({"public_action"=>true}, c.send(:action_methods), "#{c.class.controller_path} should not be empty!")} end end |