1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #6535 from arunagw/jruby_module_test

JRuby return different Array for module contents.
This commit is contained in:
Carlos Antonio da Silva 2012-05-29 05:05:14 -07:00
commit d46a36805b

View file

@ -234,7 +234,7 @@ class ModuleTest < ActiveSupport::TestCase
def test_local_constant_names
ActiveSupport::Deprecation.silence do
assert_equal %w(Constant1 Constant3), Ab.local_constant_names
assert_equal %w(Constant1 Constant3), Ab.local_constant_names.sort.map(&:to_s)
end
end
end