aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/rake
Commit message (Collapse)AuthorAgeFilesLines
* Remove hard coded references to Active Record in railtiesJosé Valim2013-03-021-13/+0
|
* run the load_structure test in the test environmentTerence Lee2013-02-211-3/+10
|
* test DATABASE_URL without database.yml aroundTerence Lee2013-02-211-0/+2
|
* allow :dirs option for .enumerateBrian D. Burns2013-01-151-0/+39
| | | | | | Allows custom rake tasks to be defined using: SourceAnnotationExtractor.enumerate 'TODO|FIXME', dirs: %w(app lib), tag: true
* Introduce ./bin for your app's executables: bin/bundle, bin/rails, bin/rake. ↵Jeremy Kemper2013-01-061-6/+2
| | | | Executable scripts are versioned code like the rest of your app. To generate a stub for a bundled gem: 'bundle binstubs unicorn' and 'git add bin/unicorn'
* Fixes for PR [#8267]Marc-Andre Lafortune2012-12-221-2/+2
| | | | | | | | * Fix Migration#reversible by not using `transaction`. * Adapt mysql adapter to updated api for remove_column * Update test after aedcd683684d08eaf30623a4b48ce31a31426372
* Stop shelling out more than necessaryCarlos Antonio da Silva2012-12-071-10/+10
|
* Run rake tasks all at once in rake dbs test for a speed upCarlos Antonio da Silva2012-12-061-12/+6
| | | | | | | | | | | Before: Finished tests in 56.245787s, 0.2133 tests/s, 0.0000 assertions/s. 12 tests, 0 assertions, 0 failures, 0 errors, 0 skips After: Finished tests in 42.401416s, 0.2830 tests/s, 0.0000 assertions/s. 12 tests, 0 assertions, 0 failures, 0 errors, 0 skips
* Fix failing tests related to rake notesCarlos Antonio da Silva2012-12-031-2/+2
| | | | Related to changes introduced in 553b563749517114323b4e8742509227e0daab67
* Add db to the list of default annotation foldersAntonio Cangiano2012-12-011-0/+4
|
* Add .rake to `rake notes` and `rake notes:custom`Brent J. Nordquist2012-10-121-1/+3
|
* Fix syntax error in assert_matchRafael Mendonça França2012-09-151-6/+6
|
* Few more warnings removed.Arun Agrawal2012-09-151-3/+3
| | | | | | | I found them when I was running warning mode on with railties See https://github.com/rails/rails/pull/3782
* fixed support for DATABASE_URL for rake db tasksGrace Liu2012-09-111-0/+181
| | | | | | | | | | | | - added tests to confirm establish_connection uses DATABASE_URL and Rails.env correctly even when no arguments are passed in. - updated rake db tasks to support DATABASE_URL, and added tests to confirm correct behavior for these rake tasks. (Removed establish_connection call from some tasks since in those cases the :environment task already made sure the function would be called) - updated Resolver so that when it resolves the database url, it removes hash values with empty strings from the config spec (e.g. to support connection to postgresql when no username is specified).
* run the notes tests in isolationAaron Patterson2012-06-191-0/+4
|
* Warnings removed for "assert_match /".Arun Agrawal2012-05-301-20/+20
|
* Remove empty lines.Jason Noble2012-04-301-4/+0
|
* Fixed styling issues brought up by @jeremyJason Noble2012-04-301-2/+1
|
* Add ability to specify custom annotation directoriesJason Noble & Ralph Shnelvar2012-04-301-0/+42
| | | | | | | | | SOURCE_ANNOTATION_DIRECTORIES='dir1,dir2' bundle exec rake notes Searches app, config, lib, script, test (default) Also searches dir1, dir2 References: #4536, #4540
* Add test coverage for rake notesJason Noble & Ralph Shnelvar2012-04-301-1/+36
| | | | | Add separate tests to verify directories covered Add tests to verify file_types
* `rake notes` and `rake notes:custom` now supportTeng Siong Ong2012-04-221-1/+7
| | | css, scss and css.
* Fixed missing space bug introduces in ↵Anton Lindqvist2012-03-221-3/+4
| | | | rails/rails@9299bfdcd387253d83b645c205b8df477f2d0940.
* Use one system call whenever possible, group rake and Dir.chdir callsCarlos Antonio da Silva2012-03-082-83/+83
|
* Correctly print names of non-timestamped migrations with db:migrate:statusPeter Mitchell2012-02-171-1/+49
|
* Display annotations from .coffee files in `rake notes`Bartlomiej Kozal2012-02-051-10/+12
|
* convert railties to use AS::TestCaseAaron Patterson2012-01-052-2/+2
|
* Align rake notes.Anton Lindqvist2011-12-261-0/+9
|
* Clean up the cache before the request in case we are running in the ↵José Valim2011-12-151-1/+1
| | | | reload_classes_only_on_change schema.
* Fix indentationPiotr Sarnacki2011-12-091-67/+67
|
* Allow to run migrations with given scope, with SCOPE=<scope>Piotr Sarnacki2011-12-091-0/+24
| | | | | | | | | | | Scope in migrations can be defined by adding suffix in filename, like: 01_a_migration.blog.rb. Such migration have blog scope. Scope is automatically added while copying migrations from engine, so if you want to revert all of the migrations from given engine, you can just run db:migrate with SCOPE, like: rake db:migrate SCOPE=blog
* Moves migrations tests from railties/test/application/rake_test.rb to ↵Kazimierz Kiełkowicz2011-12-071-0/+85
| | | | railties/test/application/rake/migrations_test.rb
* Move rake notes test to railties/test/application/rake/notes_test.rbKazimierz Kiełkowicz2011-12-071-0/+45