aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/dup_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Do not override attributes on `dup` by default scopesHiroshige Umino2013-02-261-0/+9
|
* Merge pull request #7371 from csmuc/fix_dup_validation_errorsSantiago Pastorino2012-10-171-0/+15
| | | | | | | Dup'ed ActiveRecord objects may not share the errors object Conflicts: activerecord/CHANGELOG.md activerecord/test/cases/dup_test.rb
* Add order to tests that rely on db ordering, to fix failing tests on pgCarlos Antonio da Silva2012-03-221-10/+9
| | | | | | | Also skip persistente tests related to UPDATE + ORDER BY for postgresql PostgreSQL does not support updates with order by, and these tests are failing randomly depending on the fixture loading order now.
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
|
* Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-041-1/+1
| | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
* Testing that dup is resetting the timestampsFranck Verrot2010-11-251-0/+24
|
* fixing variable names. oops!Aaron Patterson2010-11-231-2/+2
|
* clone and dup are working on 1.8Aaron Patterson2010-11-231-0/+15
|
* fixing dup regressionsAaron Patterson2010-11-231-3/+6
|
* renaming duplication test to dup testAaron Patterson2010-11-231-0/+61