aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/plugin_test_helper.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-04-22 19:52:28 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-04-22 19:52:28 -0700
commitbab2bfa69220ca1b6c7b56dccc79cf8e41245306 (patch)
treed3a838a665164ff2783ef68f1dde00135fe3b72b /railties/test/plugin_test_helper.rb
parent236169e85ec46644795520b826543187cf93b984 (diff)
downloadrails-bab2bfa69220ca1b6c7b56dccc79cf8e41245306.tar.gz
rails-bab2bfa69220ca1b6c7b56dccc79cf8e41245306.tar.bz2
rails-bab2bfa69220ca1b6c7b56dccc79cf8e41245306.zip
Removed rest of Symbol#to_proc from railties tests
Diffstat (limited to 'railties/test/plugin_test_helper.rb')
-rw-r--r--railties/test/plugin_test_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/plugin_test_helper.rb b/railties/test/plugin_test_helper.rb
index f8c094d19f..93d50dc07f 100644
--- a/railties/test/plugin_test_helper.rb
+++ b/railties/test/plugin_test_helper.rb
@@ -24,6 +24,6 @@ class Test::Unit::TestCase
end
def assert_plugins(list_of_names, array_of_plugins, message=nil)
- assert_equal list_of_names.map(&:to_s), array_of_plugins.map(&:name), message
+ assert_equal list_of_names.map { |n| n.to_s }, array_of_plugins.map { |p| p.name }, message
end
-end \ No newline at end of file
+end