aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/column_attributes_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Disable some tests on SQLiteRafael Mendonça França2014-07-171-77/+77
| | | | | These tests were passing before because the precision were not using to cast the value. Not it is being used so it would fail on sqlite3
* /mysql/i -> MySQL, Spell correct in continuation to #15555Akshay Vishnoi2014-06-141-1/+1
|
* Remove dead test code for unsupported adaptersSean Griffin2014-05-171-3/+3
|
* test, show current adapter behavior for `add_column limit: nil`.Yves Senn2014-04-041-0/+8
| | | | | | This is an illustration of https://github.com/rails/rails/pull/13435#issuecomment-33789752 Removing the limit from the PG and SQLite adapter solves the issue. MySQL is still affected by the issue.
* Don't skip tests if we don't need to.Rafael Mendonça França2013-11-081-25/+25
| | | | | | | We can conditional define the tests depending on the adapter or connection. Lets keep the skip for fail tests that need to be fixed.
* removes the obsolete private method column_methods_hash [Closes #11406]Xavier Noria2013-07-161-15/+6
|
* Removed unused test for DateTime.local_offsetArun Agrawal2013-07-071-20/+0
| | | | see discussion here #11274
* Alias refute methods to assert_not and perfer assert_not on testsRafael Mendonça França2012-12-311-4/+4
|
* column default extraction should handle newlines.Aaron Patterson2012-08-171-0/+8
| | | | Fixes #7374
* revert Default timestamps to non-nullDave Kroondyk2012-07-181-4/+4
| | | | | | | Commit 3dbedd2 added NOT NULL constraints to timestamps. Commit fcef728 started to revert this, but was incomplete. With this commit, 3dbedd2 should be fully reverted and timestamps will no longer default to NOT NULL.
* TimeZone format is always /[+-]\d{2}:\d{2}/ in Ruby 1.9Akira Matsuda2012-06-121-1/+1
|
* Integer limit out of range should be allowed to raise. Closes #6272Erich Menge2012-05-161-0/+10
|
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-3/+3
|
* moving rename column tests to their own classAaron Patterson2012-01-131-17/+31
|
* moving column attributes tests to their own classAaron Patterson2012-01-131-0/+174