Ryuta Kamizono
6158b83d2a
Address to the warning "DEPRECATED: global use of assertion methods"
...
This addresses to the warning "DEPRECATED: global use of assertion
methods" which is introduced in minitest v5.12.0.
e6bc448573
https://buildkite.com/rails/rails/builds/64121#880aecf2-849f-4603-95f1-228784c7d3f4/1003-1010
2019-10-04 17:32:31 +09:00
Yasuo Honda
cd739c3daa
Remove unused assert_like
from Arel::Test
...
It had been added at 05b5bb1227
and removed at db1bb4e9a7
2018-05-02 00:00:19 +00:00
yuuji.yaginuma
db7416cda0
Remove unnecessary require
...
`require 'rubygems'` is already required in Ruby 1.9 or later.
2018-05-02 07:59:02 +09:00
Ryuta Kamizono
ac2bc00482
require "active_support/test_case"
is not supported since 53e877f7
...
It will cause "undefined method `test_order' for ActiveSupport:Module
(NoMethodError)".
https://travis-ci.org/rails/rails/jobs/373472604#L1208
2018-05-02 01:10:33 +09:00
Yasuo Honda
3256240788
Make Arel::Test
subclass of ActiveSupport::TestCase
...
not `Minitest::Test` to address `CustomCops/RefuteNot` and `CustomCops/AssertNot` offenses
for Arel test cases
Also including `ActiveSupport::Testing::Assertions` to `Arel::Spec`
and add test/unit backwards compatibility methods
Fixes #32720
2018-05-01 13:09:12 +00:00
Matthew Draper
4c0a3d4880
Arel: rubocop -a
2018-02-24 17:16:13 +10:30
Matthew Draper
17ca17072d
Merge Arel into Active Record
2018-02-24 17:15:32 +10:30