1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test/core_ext
Rafael Mendonça França 57ae917e9d Remove any precision problem by comparing the float values
Rational values are move precise than float values so when comparing
rationals values may be off by a few units that are hard to assert
equality. Let's make sure we are comparing the float value with float
values.
2019-09-30 23:20:22 -04:00
..
array Fix including/excluding flattening 2019-03-06 13:34:04 -03:00
class [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
digest [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
hash Delete uneeded blank file 2019-02-08 12:30:45 -05:00
kernel [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
module Use Thread.pass instead of Kernel.sleep to trigger race condition 2019-08-05 02:31:53 +02:00
object Let's try not to depend too much on other core extensions in a core extension test 2019-08-02 05:36:38 +09:00
bigdecimal_test.rb Suppress warning: BigDecimal.new is deprecated 2017-12-15 01:19:57 +00:00
class_test.rb Change refute to assert_not 2018-01-25 23:32:58 -05:00
date_and_time_behavior.rb Delete DateAndTime method definition in rails that is compatible with ruby definition 2019-06-16 18:11:39 +09:00
date_and_time_compatibility_test.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
date_ext_test.rb Delete DateAndTime method definition in rails that is compatible with ruby definition 2019-06-16 18:11:39 +09:00
date_time_ext_test.rb Fix issue where duration where always rounded up to a second: 2018-10-12 13:27:13 -04:00
duration_test.rb Disallow all non-numerics as Duration.build input, Fixes #37012 2019-08-27 16:58:09 +01:00
enumerable_test.rb Add compact_blank shortcut for reject(&:blank?) 2019-06-05 18:18:17 +10:00
file_test.rb Ensure correct permission when tmpdir is the same as dirname. 2018-10-02 16:40:39 +02:00
hash_ext_test.rb Missing require AS/core_ext/date/conversions 2019-08-02 13:18:01 +09:00
integer_ext_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
kernel_test.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
load_error_test.rb Fixes warning: mismatched indentations at 'rescue' with 'def' at 15. 2018-12-21 12:28:33 +01:00
marshal_test.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
module_test.rb Omit marshal_dump & _dump from delegate_missing_to 2019-07-17 23:22:39 -04:00
name_error_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
numeric_ext_test.rb Deprecate "active_support/core_ext/numeric/inquiry" 2018-03-02 23:32:10 -08:00
range_ext_test.rb Fix issues with ActiveSupport Range extensions on boundless Ranges 2019-09-16 10:03:04 +12:00
regexp_ext_test.rb Remove test_match_p since Rails 6 requires Ruby 2.4.1 or newer 2018-05-07 04:19:24 +09:00
secure_random_test.rb Tweak test name 2018-12-30 12:01:55 -05:00
string_ext_test.rb Merge pull request #36185 from jonathanhefner/optimize-string-first-and-last 2019-07-28 00:02:33 -04:00
time_ext_test.rb Remove any precision problem by comparing the float values 2019-09-30 23:20:22 -04:00
time_with_zone_test.rb Change the empty block style to have space inside of the block 2018-09-25 13:19:35 -04:00
uri_ext_test.rb URI.unescape handles mixed Unicode/escaped input 2018-03-07 12:58:02 +11:00