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
a0bf0195a5
Deprecation: count class method should be called with an options hash rather than two args for conditions and joins. Closes #6287 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-26 17:02:45 +00:00
Michael Koziarski
445cb5c08d
Add support for :include to with_scope [andrew@redlinesoftware.com]
...
Remove overrated warning from adapter_test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 06:19:31 +00:00
Jeremy Kemper
25fb2db409
Dynamically set allow_concurrency. Closes #4044 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-13 17:28:55 +00:00
Jeremy Kemper
1b3bae967d
Add missing fixtures for #3937 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 17:46:16 +00:00
David Heinemeier Hansson
91247b6167
Added that fixtures to placed in subdirectories of the main fixture files are also loaded ( closes #3937 ) [dblack@wobblini.net]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 05:14:57 +00:00
Jeremy Kemper
3848634a4b
fix method scoping test for postgresql
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-26 23:03:59 +00:00
David Heinemeier Hansson
1215d54c2f
Added support for nested scopes ( closes #3407 ) [anna@wota.jp]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-26 20:12:09 +00:00
Marcel Molina
bbec3ae512
Sanitize scoped conditions.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-04 03:43:28 +00:00
Jeremy Kemper
a83e0cdec5
r2916@asus: jeremy | 2005-11-06 05:04:06 -0800
...
Rename conditions_scoping_test to method_scoping_test.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-06 10:19:28 +00:00