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
Michael Groeneman e4068f5ff2 Align Range#cover? extension behavior with Ruby behavior for backwards ranges.
`(1..10).cover?(5..3)` now returns `false`, as it does in plain Ruby. Previously this returned `true`.

Also update `#include?` and `#===` behavior to match.
2020-03-30 13:52:47 -07:00
..
array Return unfrozen strings from to_sentence 2019-12-28 21:56:46 +01:00
class Do not define instance predicate if the instance reader isn't as well 2020-01-09 10:35:14 +01:00
digest allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
hash allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
kernel allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
module Give us some space please 2020-02-10 02:39:16 +01:00
object allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
bigdecimal_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
class_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
date_and_time_behavior.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
date_and_time_compatibility_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
date_ext_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
date_time_ext_test.rb Add Date and Time #yesterday? and #tomorrow? (#37625) 2020-03-19 20:30:14 -07:00
duration_test.rb Remove week from iso8601 parts 2019-12-20 22:15:15 +08:00
enumerable_test.rb Add Enumerable#pick to complement Relation#pick 2020-03-18 20:03:56 +00:00
file_test.rb Allow automic file test to be parallelized 2020-01-24 09:54:01 -08:00
hash_ext_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
integer_ext_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
kernel_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
load_error_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
marshal_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
module_test.rb Fix delegate_missing_to to allow keyword arguments 2020-02-28 04:20:01 +09:00
name_error_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
numeric_ext_test.rb Add :round_mode parameter support to number helpers 2020-01-05 21:23:02 +00:00
range_ext_test.rb Align Range#cover? extension behavior with Ruby behavior for backwards ranges. 2020-03-30 13:52:47 -07:00
regexp_ext_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
secure_random_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
string_ext_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
time_ext_test.rb Add Date and Time #yesterday? and #tomorrow? (#37625) 2020-03-19 20:30:14 -07:00
time_with_zone_test.rb Add Date and Time #yesterday? and #tomorrow? (#37625) 2020-03-19 20:30:14 -07:00
uri_ext_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00