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. |
||
---|---|---|
.. | ||
absence_validation_test.rb | ||
acceptance_validation_test.rb | ||
callbacks_test.rb | ||
conditional_validation_test.rb | ||
confirmation_validation_test.rb | ||
exclusion_validation_test.rb | ||
format_validation_test.rb | ||
i18n_generate_message_validation_test.rb | ||
i18n_validation_test.rb | ||
inclusion_validation_test.rb | ||
length_validation_test.rb | ||
numericality_validation_test.rb | ||
presence_validation_test.rb | ||
validates_test.rb | ||
validations_context_test.rb | ||
with_validation_test.rb |