aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/rake_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #5995 from kennyj/fix_5847-3"José Valim2012-04-271-22/+0
| | | | | | | | Active Record should be lazy loaded and this pull request forced Active Record to always be loaded after initialization. This reverts commit 8cd14c0bc9f9429f03d1181912355d2f48b98157, reversing changes made to 2f0c8c52e66f1a2a3d1c00efc207f227124e96c2.
* Fix #5847 and #4045. Load AR::Base before loading an application model.kennyj2012-04-261-0/+22
|
* Fix GH #5435. db:structure:dump should be reenable.kennyj2012-03-171-0/+12
|
* Remove --http.José Valim2012-03-141-20/+0
|
* Fix scaffold controller template, ensure rake scaffold test pass by defaultCarlos Antonio da Silva2012-03-141-2/+23
|
* Use one system call whenever possible, group rake and Dir.chdir callsCarlos Antonio da Silva2012-03-081-14/+11
|
* Add db:schema:cache:dump and db:schema:cache:clear tasks.kennyj2012-03-011-0/+19
|
* use a regular expression for the number of passes. We only care thatAaron Patterson2012-01-061-1/+1
| | | | all tests pass, not the number of tests.
* convert railties to use AS::TestCaseAaron Patterson2012-01-051-1/+1
|
* Move SubTestTask. Soften up tests.Jeremy Kemper2011-12-211-10/+7
|
* Rename STRUCTURE to DB_STRUCTURE, update dump task description and add ↵Dieter Komendera2011-12-181-0/+8
| | | | simple testcase.
* Moves migrations tests from railties/test/application/rake_test.rb to ↵Kazimierz Kiełkowicz2011-12-071-68/+0
| | | | railties/test/application/rake/migrations_test.rb
* Move asset tests to assets_test fileGuillermo Iguaran2011-09-131-31/+0
|
* Merge pull request #2987 from kennyj/masterSantiago Pastorino2011-09-121-0/+16
|\ | | | | fix https://github.com/rails/rails/issues/2947 (with testcase)
| * fix https://github.com/rails/rails/issues/2947 (with testcase)kennyj2011-09-131-0/+16
| |
* | Merge pull request #2985 from kennyj/masterSantiago Pastorino2011-09-121-0/+16
|\| | | | | fix https://github.com/rails/rails/issues/2582 (with testcase)
| * fix https://github.com/rails/rails/issues/2582 (with testcase)kennyj2011-09-131-1/+17
| |
* | added test for db migrate:redoDeepak Prasanna2011-09-101-0/+25
| |
* | Merge pull request #2957 from waseem/migration_status_testsSantiago Pastorino2011-09-091-0/+24
|\ \ | | | | | | Tests for rake db:migrate:status.
| * | Tests for rake db:migrate:status.Waseem Ahmad2011-09-091-1/+25
| |/
* / move route inspecting to an object so that we can more easily test itAaron Patterson2011-09-091-95/+2
|/
* Warnings removed for "assert_match /" Please doArun Agrawal2011-09-041-3/+3
| | | | not add more.!
* Improve formatting of route to Rack application in rake routes.Hendy Tanata2011-07-171-0/+21
| | | | | | | | | | This route: match 'foo/:id' => RackApp, :id => /[A-Z]\d{5}/ is shown as: /foo/:id(.:format) RackApp {:id=>/[A-Z]\d{5}/}
* Better formatting of route requirements in rake:routes.Hendy Tanata2011-07-161-2/+65
| | | | | | | | | | Previously it was: {:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/} Now it becomes: photos#show {:id=>/[A-Z]\d{5}/}
* Don't raise on mass assignment for testJosé Valim2011-07-071-6/+15
|
* Add test to rake test for error messagesWen-Tien Chang2011-06-301-0/+26
|
* Solve the RAILS_ENV problem in the railties tests in a more generic wayJon Leighton2011-06-061-1/+5
|
* Parenthesize arguments when the first one is a Regexp literal.Sebastian Martinez2011-05-231-9/+9
| | | | This fixes 'warning: ambiguous first argument; put parentheses or even spaces'.
* Add test to verify production rake tasks flush logger on exitJason Rudolph2011-05-061-0/+13
|
* Display custom asset routes in `rake routes`Peter Suschlik2011-05-051-0/+9
|
* fix db:fixtures:load with FIXTURES specified [#6061 state:resolved]John Hawthorn2011-02-061-0/+17
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Add test cases for model and migration generators which use `change` method.Prem Sichanugrist2011-01-041-0/+19
|
* Ensure that initializers are executed before loading rake tasksPiotr Sarnacki2010-11-181-0/+16
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Strip regexp anchors from rake routes output [#5934 state:resolved]Andrew White2010-11-091-0/+9
|
* Fix typo and add sanity test for code statistics rake task.Emilio Tagua2010-09-241-1/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-1/+1
| | | | 's/[ \t]*$//' -i {} \;)
* Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-011-2/+2
| | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* Clear DescendantsTracker on each request.José Valim2010-06-191-1/+1
|
* The rake task :environment now loads config/environment.rb instead of ↵José Valim2010-04-291-0/+14
| | | | initializing the application on its own. This fixes [#4492 state:resolved] and also avoids the application being initialized twice in some rake tasks.
* Ensure application rake tasks and generators are loaded after the ones ↵José Valim2010-04-261-0/+23
specified in railties/engines/rails. [#4471 state:resolved]