diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-02 20:50:03 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-02 20:50:03 -0200 |
commit | fc73ebf332c4dbd36dcf7e7a39a0e120b7680bd2 (patch) | |
tree | 962ece0fec18f22458d836488555a5ebd616b080 /activesupport/test | |
parent | 83e4f33ea1f39f1e72b7017641f186756206c14f (diff) | |
parent | 2da9d67c278b0f37d2dea89ff557dc07cbb3a7b0 (diff) | |
download | rails-fc73ebf332c4dbd36dcf7e7a39a0e120b7680bd2.tar.gz rails-fc73ebf332c4dbd36dcf7e7a39a0e120b7680bd2.tar.bz2 rails-fc73ebf332c4dbd36dcf7e7a39a0e120b7680bd2.zip |
Merge pull request #10996 from mattdbridges/number-helper-refactor
Refactor and clean up number helpers
Conflicts:
activesupport/lib/active_support/number_helper.rb
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/number_helper_test.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activesupport/test/number_helper_test.rb b/activesupport/test/number_helper_test.rb index 1fadef3637..61ca556fcd 100644 --- a/activesupport/test/number_helper_test.rb +++ b/activesupport/test/number_helper_test.rb @@ -370,12 +370,6 @@ module ActiveSupport end end - def test_extending_or_including_number_helper_correctly_hides_private_methods - [@instance_with_helpers, TestClassWithClassNumberHelpers, ActiveSupport::NumberHelper].each do |number_helper| - assert !number_helper.respond_to?(:valid_float?) - assert number_helper.respond_to?(:valid_float?, true) - end - end end end end |