aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/references_index_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use teardown helper method.Guo Xiang Tan2014-03-141-2/+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.
* Don't skip tests if we don't need to.Rafael Mendonça França2013-11-081-14/+14
| | | | | | | We can conditional define the tests depending on the adapter or connection. Lets keep the skip for fail tests that need to be fixed.
* Alias refute methods to assert_not and perfer assert_not on testsRafael Mendonça França2012-12-311-4/+4
|
* Skip two tests with polymorphic if current adapter is Oracle Adapter.Yasuo Honda2012-06-081-0/+3
| | | | because Oracle Adapter does not support foreign keys if :polymorphic => true is used.
* Automatically create indexes for references/belongs_to statements in migrations.Joshua Wood2012-04-141-0/+99