Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use frozen-string-literal in ActiveRecord | Kir Shatrov | 2017-07-19 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | applies remaining conventions across the project | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | |||||
* | applies new string literal convention in activerecord/test | Xavier Noria | 2016-08-06 | 1 | -7/+7 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | make it possible to run AR tests with bin/test | Yves Senn | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | prefer `drop_table if_exists: true` over raw SQL. | Yves Senn | 2015-02-18 | 1 | -1/+1 |
| | | | | | | | /cc @yahonda This makes it easier for third party adapters to run our tests, even if that database does not support IF EXISTS. | ||||
* | Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 ↵ | Vipul A M | 2015-02-03 | 1 | -1/+0 |
| | | | | onwards. | ||||
* | Should escape regexp wildcard character `.` | Ryuta Kamizono | 2015-01-19 | 1 | -1/+1 |
| | | | | | `.` is regexp meta character. It should be escape for `assert_match` correctly. | ||||
* | tests, move schema shorthand assertions into pg specific tests. | Yves Senn | 2014-12-02 | 1 | -0/+7 |
| | |||||
* | Don't rely on the sql type to quote XML columns in PG | Sean Griffin | 2014-07-06 | 1 | -1/+14 |
| | |||||
* | test pg, rm unused requires. | Yves Senn | 2014-06-03 | 1 | -3/+0 |
| | |||||
* | test, use `columns_hash[]` in place of `columns.find {}`. | Yves Senn | 2014-05-12 | 1 | -1/+1 |
| | |||||
* | Use teardown helper method. | Guo Xiang Tan | 2014-03-14 | 1 | -1/+1 |
| | | | | | | | | Follow-Up to https://github.com/rails/rails/pull/14348 Ensure that SQLCounter.clear_log is called after each test. This is a step to prevent side effects when running tests. This will allow us to run them in random order. | ||||
* | no need to `return skip` in tests. `skip` is enough. | Yves Senn | 2014-01-16 | 1 | -1/+1 |
| | |||||
* | Use assert_nil instead of testing for equality | Carlos Antonio da Silva | 2013-08-02 | 1 | -2/+1 |
| | |||||
* | Removed redundant xml override from pg adapter | Paul Nikitochkin | 2013-08-02 | 1 | -0/+39 |
Closes: #11706 |