aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/arel/nodes
Commit message (Collapse)AuthorAgeFilesLines
* Make `And` and `Case` into expression nodesKevin Deisz2019-01-241-0/+9
| | | | Allows aliasing, predications, ordering, and various other functions on `And` and `Case` nodes. This brings them in line with other nodes like `Binary` and `Unary`.
* Alias case nodesKevin Deisz2019-01-211-0/+10
| | | | When `Arel` was merged into `ActiveRecord` we lost the ability to alias case nodes. This adds it back.
* Add math testsNikolai B2018-05-141-9/+0
| | | | | | After #449 was merged math can be done on these nodes, adding a test file to unit test all the math operators.
* Make `Arel::Test` subclass of `ActiveSupport::TestCase`Yasuo Honda2018-05-015-70/+74
| | | | | | | | | | 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
* Arel: rubocop -aMatthew Draper2018-02-2432-307/+333
|
* Merge Arel into Active RecordMatthew Draper2018-02-2432-0/+1361