mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
5abf662959
Now a few tests in ActiveModel rely on Ruby implementation and the fact that in MRI `97.18` as a float is greater than `97.18` as a BigDecimal. This is only relevant for MRI. On JRuby, comparing float to BigDecimal would be conversion of them to the same type and they will be equal. I'd like the ActiveModel test suite to be Ruby implementation-agnostic. Here we test ActiveModel, not the Ruby internals. This PR fixes a couple more JRuby tests. |
||
---|---|---|
.. | ||
serializers | ||
type | ||
validations | ||
attribute_assignment_test.rb | ||
attribute_methods_test.rb | ||
callbacks_test.rb | ||
conversion_test.rb | ||
dirty_test.rb | ||
errors_test.rb | ||
forbidden_attributes_protection_test.rb | ||
helper.rb | ||
lint_test.rb | ||
model_test.rb | ||
naming_test.rb | ||
railtie_test.rb | ||
secure_password_test.rb | ||
serialization_test.rb | ||
translation_test.rb | ||
validations_test.rb |