aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/test_case.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make assert_no_queries literally enforce that there are no queries. As in, ↵Jon Leighton2011-06-121-0/+4
| | | | not a single line of SQL should be sent to the database, not even stuff that is ignored by assert_queries. The argument being that if you write assert_no_queries, you really do not want there to be any queries.
* If we're going to use a global variable, let's at least namespace itJon Leighton2011-06-121-6/+6
|
* Move BEGIN and COMMIT into IGNORED_SQL rather than having them as a special ↵Jon Leighton2011-06-121-1/+0
| | | | case in assert_queries
* Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-1/+1
|
* backport skip to the AR base classAaron Patterson2011-05-131-0/+7
|
* removing limits and offsets from COUNT queries unless both are specified. ↵Aaron Patterson2011-02-251-0/+1
| | | | [#6268 state:resolved]
* identity_map name is used for configuration, use IdentityMap to access it.Emilio Tagua2010-11-191-1/+1
|
* Test setup method should clean up IM.Emilio Tagua2010-11-191-0/+4
|
* Use just one repository and keep it in the current thread.Emilio Tagua2010-11-191-1/+0
|
* IdentityMap - Tests for IMMarcin Raczkowski2010-11-191-0/+7
|
* Update the ActiveRecord tests to not set unused optionsCarl Lerche2010-10-131-15/+0
| | | This makes a test fail, but it is revealing a bug in Arel master.
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-1/+1
| | | | 's/[ \t]*$//' -i {} \;)
* Removing most of the symbol to proc usage in Active RecordPrem Sichanugrist2010-08-131-1/+1
| | | | This will hopefully make Active Record run a bit more faster.
* Adds title and proper formatting to docs.Rizwan Reza2010-06-161-0/+3
|
* Autoload AS test caseJoshua Peek2010-01-041-2/+0
|
* Show executed queries when assert_sql assertion fails [#2573 state:resolved]Emilio Tagua2009-04-281-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* DRY with_kcode in Active Record testsPratik Naik2009-03-071-0/+13
|
* Add support for nested object forms to ActiveRecord and the helpers in ↵Eloy Duran2009-02-011-0/+1
| | | | | | | | ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed]
* Remove SQL Server cases from tests for latest adapter work to pass rails ↵Ken Collins2008-11-191-4/+2
| | | | | | expected behavior. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Remove superfluous requireJeremy Kemper2008-11-131-1/+0
|
* Move fixtures settings from AR::TestCase to railties test_helpJeremy Kemper2008-11-121-11/+1
|
* Remove fixtures from Test::Unit::TestCase. Mix in AR::TestFixtures instead.Jeremy Kemper2008-11-071-0/+3
|
* Default connection allow_concurrency to false (for PostgreSQL)Nick Sieger2008-09-041-0/+15
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Print the queries that were executed if assert_queries failsTarmo Tänav2008-08-261-1/+1
|
* Add assert_sql helper method to check for specific SQL output in Active ↵Gabe da Silveira2008-07-141-2/+13
| | | | | | Record test suite. [#325 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add options missing from earlier changesetMichael Koziarski2008-01-221-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/railsJeremy Kemper2008-01-211-0/+35
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de