diff options
author | Akira Matsuda <ronnie@dio.jp> | 2012-06-05 04:59:34 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2012-06-06 19:33:38 +0900 |
commit | edee2c7b3bec824aa653b09d63aff06ab5542e06 (patch) | |
tree | e4cb8cbca333c14ce9ad2886e5c52a3791edb300 /railties/test | |
parent | 9fb70033d36f467d4eb858e9fac1282a0394876a (diff) | |
download | rails-edee2c7b3bec824aa653b09d63aff06ab5542e06.tar.gz rails-edee2c7b3bec824aa653b09d63aff06ab5542e06.tar.bz2 rails-edee2c7b3bec824aa653b09d63aff06ab5542e06.zip |
stop `to_s`ing method names
Module#methods are Symbols in Ruby >= 1.9
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/railties/engine_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/test/railties/engine_test.rb b/railties/test/railties/engine_test.rb index 4437e2c8af..52c7fae6c6 100644 --- a/railties/test/railties/engine_test.rb +++ b/railties/test/railties/engine_test.rb @@ -1009,9 +1009,7 @@ YAML boot_rails - methods = Bukkits::Engine.helpers.public_instance_methods.collect(&:to_s).sort - expected = ["bar", "baz"] - assert_equal expected, methods + assert_equal [:bar, :baz], Bukkits::Engine.helpers.public_instance_methods.sort end test "setting priority for engines with config.railties_order" do |