aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename RouteInspect to RoutesInspector for consistencyJosé Valim2012-06-291-2/+2
|
* Fix wrong testcase. This is a testcase for db:test:prepare.kennyj2012-06-281-1/+1
|
* Change the behavior of db:test:prepare task when schema_format is sql for ↵kennyj2012-06-261-0/+9
| | | | consistency.
* Change the behavior of db:test:clone task when schema_format is sql for ↵kennyj2012-06-261-0/+9
| | | | consistency.
* ruby 1.9 hash syntax for generated codeRichard Huang2012-06-231-4/+4
| | | | | | | | app/controllers/application_controller.rb app/views/layouts/application.html.erb config/application.rb config/routes.rb test/performance/browsing_test.rb
* Run the logger tests in isolationRafael Mendonça França2012-06-191-0/+2
|
* run the notes tests in isolationAaron Patterson2012-06-191-0/+4
|
* Don't read csv file during executing db:fixtures:load.kennyj2012-06-171-0/+12
|
* TestCase does not need to be loaded when loading the frameworkAaron Patterson2012-06-151-1/+10
|
* Fix observers with AR::ModelJon Leighton2012-06-151-0/+21
|
* Fix config.active_record.whitelist_attributes with AR::ModelJon Leighton2012-06-151-3/+4
|
* Merge pull request #6690 from suginoy/fix-templates-copyRafael Mendonça França2012-06-111-0/+11
|\ | | | | Fix: 'rake rails:templates:copy' doesn't work
| * Added a testcase for #6690.kennyj2012-06-121-0/+11
| |
* | Use . instead of :: for class methods, add CHANGELOG entriesJosé Valim2012-06-101-1/+1
| |
* | Merge pull request #6665 from schneems/schneems/raise-migration-errorJosé Valim2012-06-101-0/+15
|\ \ | |/ |/| Notify A User they Have Pending Migrations
| * test errors for pending migrationsschneems2012-06-091-0/+15
| | | | | | App should raise error on page_load
* | Fix tests, active_authorizer shouldn't include blank valuesPiotr Sarnacki2012-06-091-1/+1
| | | | | | | | Fix for a test failing after: 00ff0a6776
* | bundle exec rake assets:precompile shouldn't fail quietly.John Yani2012-06-051-17/+24
|/ | | | | | | | | If JavaScript runtime is not installed, execjs fails with error quietly, while tests continue to run. This should not happen since it causes tests to fail for unknown reason (#6621). This commit assures that if JavaScript runtime is not installed, an assertion is raised.
* More assert_match warnings fixed.Arun Agrawal2012-05-301-3/+3
|
* Warnings removed for "assert_match /".Arun Agrawal2012-05-301-20/+20
|
* Add support runner hook.kennyj2012-05-291-0/+10
|
* Add a testcase for #5847.kennyj2012-05-291-0/+23
|
* remove unnecessary test from route_inspect_testschneems2012-05-241-9/+0
|
* Rails::InfoController tests passingschneems2012-05-242-0/+21
| | | | This includes new tests for /rails/info/routes
* Merge pull request #3359 from mrreynolds/datamapper_naming_fixRafael Mendonça França2012-05-191-9/+9
|\ | | | | Fixed DataMapper namings in symbols and constants.
| * Fixed DataMapper namings in symbols and constants.Robert Glaser2011-10-181-9/+9
| |
* | Improve `rake routes` output for redirects - closes #6369.Andrew White2012-05-191-4/+7
| |
* | Fix inspecting route redirections, closes #6369Łukasz Strzałkowski2012-05-181-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | This commit fixes route inspection in `rake routes` Before: foo /foo(.:format) :controller#:action" After: foo /foo(.:format) Redirect (301)
* | More DRY route inspect testsŁukasz Strzałkowski2012-05-181-26/+18
| |
* | Allow configuring a different queue consumerCarlos Antonio da Silva2012-05-041-3/+36
| | | | | | | | | | | | Also make sure to not use default queue consumer with custom queue implementation. It is up to the new queue implementation to start / shutdown the consumer.
* | Removing unused local vars in Queue testsRodrigo Pavano2012-05-011-2/+0
| |
* | 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
* | Failing test for #6034Piotr Sarnacki2012-04-301-0/+20
| |
* | Define only writer method for queue, as reader is declaredCarlos Antonio da Silva2012-04-281-2/+0
| | | | | | | | Remove deprecation warning of method redefined.
* | Use Rails::Queueing::Queue instead of Queue so people can build their own ↵José Valim2012-04-281-2/+2
| | | | | | | | consumers around stdlib's Queue
* | Fix failing test, TestQueue#contents is not #jobsCarlos Antonio da Silva2012-04-271-1/+1
| |
* | add a factory method for queue construction so that apps can have multiple ↵Aaron Patterson2012-04-271-0/+8
| | | | | | | | queues
* | 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.
* | Missing git add :trollface:Yehuda Katz2012-04-261-0/+114
| |
* | Fix #5847 and #4045. Load AR::Base before loading an application model.kennyj2012-04-261-0/+22
| |
* | Routes reloader knows how to reload external filesYehuda Katz2012-04-251-0/+61
| |
* | Fix missing Rails.env in route inspect testsYehuda Katz2012-04-251-0/+1
| |
* | Allow loading external route files from the routerJose and Yehuda2012-04-252-0/+26
| | | | | | | | | | | | | | | | | | This feature enables the ability to load an external routes file from the router via: draw :filename External routes files go in +config/routes+. This feature works in both engines and applications.
* | Clean up some straggling build failuresJose and Yehuda2012-04-241-7/+7
| |
* | Remove default match without specified methodJose and Yehuda2012-04-2410-37/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964
* | `rake notes` and `rake notes:custom` now supportTeng Siong Ong2012-04-221-1/+7
| | | | | | css, scss and css.
* | Freeze the middleware stack after it's builtJeremy Kemper2012-04-202-17/+25
| | | | | | | | | | | | So apps that accidentally add middlewares later aren't unwittingly dumping them in a black hole. Closes #5911