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:
commit
d46a36805b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue