Skip to content

Commit

Permalink
Merge pull request rails#6535 from arunagw/jruby_module_test
Browse files Browse the repository at this point in the history
JRuby return different Array for module contents.
  • Loading branch information
carlosantoniodasilva committed May 29, 2012
2 parents 6ba93ac + 3335cb7 commit d46a368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/test/core_ext/module_test.rb
Expand Up @@ -234,7 +234,7 @@ def test_local_constants

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
Expand Down

0 comments on commit d46a368

Please sign in to comment.