Joshua Peek
e5ed62deea
Autoload AR test case
2010-01-04 16:50:01 -06:00
Joshua Peek
bcb686054a
Hush loading AR unless it fails
2009-12-14 16:01:23 -06:00
Joshua Peek
6d214c953b
Merge abstract_controller/test_helper and new_base/test_helper since they are expected to run in the same testing sandbox
2009-09-13 16:30:27 -05:00
Jeremy Kemper
b7c031f52e
Move active_record_unit to shared load path
2009-05-22 16:21:21 -07:00
Jeremy Kemper
a5c98bb063
Test AR integration with jdbcsqlite3 adapter on jruby
2009-02-06 13:27:50 -08:00
Jeremy Kemper
4af46c4ba1
Update AR integration tests for TestCase changes
2008-11-07 15:51:50 -05:00
Jeremy Kemper
c82e8e1f48
Move controller assertions from base TestCase to AC:: and AV::TestCase
2008-11-07 15:42:34 -05:00
Joshua Peek
339491a6b3
Set precompiled fixture load path constant to speed up tests
2008-06-25 15:24:12 -05:00
Jeremy Kemper
139b92495f
* Continue evolution toward ActiveSupport::TestCase and friends. #10679 [Josh Peek]
...
* TestCase: introduce declared setup and teardown callbacks. Pass a list of methods and an optional block to call before setup or after teardown. Setup callbacks are run in the order declared; teardown callbacks are run in reverse. [Jeremy Kemper]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-01-05 13:34:15 +00:00
Jeremy Kemper
9d755f1983
require abstract_unit directly since test is in load path
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-01-05 13:32:06 +00:00
Jeremy Kemper
f08bd27398
Pass busy timeout for sqlite3 integration tests.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-01-24 12:02:40 +00:00
Jeremy Kemper
9339db70c6
Remove dead abort_tests method.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-15 12:50:51 +00:00
Jeremy Kemper
079d684a37
Fix failing test fallback when neither SQLite 2 or 3 is available.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-15 12:43:34 +00:00
Jeremy Kemper
a0c677c8e6
Filters overhaul including meantime filter support for around filters. Closes #5949 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-22 03:41:03 +00:00
Jeremy Kemper
12ff554cd4
Tighten rescue clauses. Closes #5985 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-31 03:16:28 +00:00
Jeremy Kemper
767eaa9df1
Clean up and run the Active Record integration tests by default. Closes #5854 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-22 09:19:55 +00:00
Jeremy Kemper
070f3fdc8c
Clean up and run the Active Record integration tests by default.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-22 04:38:03 +00:00
Michael Koziarski
d49a5fcb4c
* Fix pagination problems when using include
...
* Introduce Unit Tests for pagination
* Allow count to work with :include by using count distinct.
[Kevin Clark & Jeremy Hopple]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-09 09:17:40 +00:00