aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' into adequaterecordAaron Patterson2014-01-172-176/+153
|\
| * Extract a method to simplify setup codeCarlos Antonio da Silva2014-01-161-23/+27
| * Use minitest's skip rather than conditionals + early returnsCarlos Antonio da Silva2014-01-161-47/+38
| * Move AR test classes inside the test caseCarlos Antonio da Silva2014-01-161-38/+46
| * Do not set up a variable used only in two testsCarlos Antonio da Silva2014-01-161-15/+18
| * No need for instance vars on single testsCarlos Antonio da Silva2014-01-161-8/+8
| * Cleanup duplicated setup of callbacks in transactions testsCarlos Antonio da Silva2014-01-161-48/+19
| * No need to use #send with public methodsCarlos Antonio da Silva2014-01-161-10/+10
* | change query strategy based on adapterAaron Patterson2014-01-161-1/+0
* | Merge branch 'master' into adequaterecordAaron Patterson2014-01-1610-53/+100
|\|
| * Make AR::Base#touch fire the after_commit and after_rollback callbacksHarry Brundage2014-01-161-1/+46
| * Fix test for cache_key + touchedCarlos Antonio da Silva2014-01-161-9/+9
| * reset column information after fiddling with `Encoding.default_internal`Yves Senn2014-01-161-0/+1
| * we have `with_env_tz` as global test helper. Remove duplicate.Yves Senn2014-01-162-14/+0
| * isolate class attribute assignment in `migration_test.rb`Yves Senn2014-01-161-22/+33
| * use `teardown` for cleanup, not `setup`.Yves Senn2014-01-161-5/+2
| * tests without transactional fixtures need to cleanup afterwards.Yves Senn2014-01-161-0/+7
| * no need to `return skip` in tests. `skip` is enough.Yves Senn2014-01-164-4/+4
* | use a params hash so we know what bind parameters are usedAaron Patterson2014-01-151-15/+16
* | some databases do not have bind params (mysql2) so take that in to accountAaron Patterson2014-01-141-2/+6
* | Merge branch 'master' into set_bindsAaron Patterson2014-01-142-15/+2
|\|
| * rm dup codeAaron Patterson2014-01-141-13/+0
| * "string" isn't a valid column type for ActiveRecordAaron Patterson2014-01-141-1/+1
* | test bind value equalityAaron Patterson2014-01-141-2/+2
* | match against bind valuesAaron Patterson2014-01-141-2/+2
* | fix statement cache executionAaron Patterson2014-01-141-7/+6
* | fix cache class interfaceAaron Patterson2014-01-141-17/+9
* | drop the dual encodings tableAaron Patterson2014-01-141-2/+2
* | `where` makes bind values, so stop manually creating themAaron Patterson2014-01-141-11/+3
* | switch to arrays for bind removal testAaron Patterson2014-01-141-4/+2
* | `where` creates binds, so do not create them manuallyAaron Patterson2014-01-141-2/+1
* | Merge branch 'master' into set_bindsAaron Patterson2014-01-145-20/+37
|\|
| * don't establish a new connection when testing with `sqlite3_mem`.Yves Senn2014-01-141-15/+21
| * sqlite >= 3.8.0 supports partial indexesCody Cutrer2014-01-141-0/+2
| * Don't try to get the subclass if the inheritance column doesn't existUjjwal Thaakar2014-01-141-1/+8
| * Enum mappings are now exposed via class methods instead of constants.Godfrey Chan2014-01-141-3/+3
| * Merge pull request #13669 from chulkilee/name-error-nameYves Senn2014-01-141-1/+3
| |\
| | * Set NameError#nameChulki Lee2014-01-131-1/+3
* | | remove dead codeAaron Patterson2014-01-141-3/+0
* | | adjust AST tests to respect bind valuesAaron Patterson2014-01-141-21/+61
* | | where uses bind values so we don't need to manually create themAaron Patterson2014-01-141-11/+3
* | | remove test that does not apply anymoreAaron Patterson2014-01-141-12/+1
* | | fix tests for explain plan + bindsAaron Patterson2014-01-132-3/+3
* | | Merge branch 'master' into set_bindsAaron Patterson2014-01-134-1/+25
|\| |
| * | unscope should remove bind values associated with the whereAaron Patterson2014-01-131-0/+9
| * | recover from test runs that leave the database in a bad stateAaron Patterson2014-01-131-1/+1
| |/
| * fix bug in becomes! when changing from base to subclass. Closes #13272.Yves Senn2014-01-131-0/+11
| * use enum labels as form values. Achieved by `_before_type_cast`.Yves Senn2014-01-111-0/+4
* | check bind parameter uniquenessAaron Patterson2014-01-131-1/+6
* | force table creationAaron Patterson2014-01-111-1/+1