diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-15 05:20:32 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-15 05:20:32 +0000 |
commit | d985260ed7896837677d9ef80b249d46c59dff9f (patch) | |
tree | 3a07f312089a3a81d2a89815114b52c6332f6f88 | |
parent | 7c042e09b43fa64492a54350aad691f6763809d8 (diff) | |
download | rails-d985260ed7896837677d9ef80b249d46c59dff9f.tar.gz rails-d985260ed7896837677d9ef80b249d46c59dff9f.tar.bz2 rails-d985260ed7896837677d9ef80b249d46c59dff9f.zip |
Made base_tests.rb run as part of rake
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-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 |