rails--rails/activemodel/test
Kir Shatrov 5abf662959 Do not rely on Ruby implementation in AM test
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.
2016-11-19 21:02:29 -05:00
..
cases Do not rely on Ruby implementation in AM test 2016-11-19 21:02:29 -05:00
models Removed deprecated :tokenizer in the length validator 2016-10-10 20:29:24 -03:00
validators let Regexp#match? be globally available 2016-10-27 09:13:55 +02:00