aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* Thoroughly test the FCGI dispatcher. Closes #5970.Jeremy Kemper2006-09-035-12/+142
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* railties testsJeremy Kemper2006-09-033-12/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* dispatcher test cosmeticsJeremy Kemper2006-08-291-15/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Railties: axe junk webrick dispatcher testJeremy Kemper2006-08-291-27/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Railties: info tests passingJeremy Kemper2006-08-291-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Railties: info controller tests passingJeremy Kemper2006-08-291-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4844 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Railties: generator tests passingJeremy Kemper2006-08-293-7/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleaning up railties tests. Set RAILS_ROOT for Rails::Initializer if undefined.Jeremy Kemper2006-08-291-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook.Nicholas Seckar2006-08-061-0/+49
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Rails info controller for postgres; Closes #4469.Nicholas Seckar2006-03-291-12/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove ::Controllers related cruft; fix AP testsNicholas Seckar2006-02-262-17/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rename Version constant to VERSION. Closes #2802.Marcel Molina2005-11-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added an omnipresent RailsInfoController with a properties action that ↵Sam Stephenson2005-11-081-0/+54
| | | | | | delivers an HTML rendering of Rails::Info (but only when local_request? is true). Added a new default index.html which fetches this with Ajax. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise in stubby/init.rb if it doesn't have access to directory or config. ↵Jeremy Kemper2005-11-071-1/+6
| | | | | | loaded_plugins is a set of plugin names (so it will be usable with multiple paths, gems, etc). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Rails generator tests (closes #2613) [torben [at] wolm.dk]David Heinemeier Hansson2005-11-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New configuration option config.plugin_paths which may be a single path like ↵Jeremy Kemper2005-11-075-13/+86
| | | | | | the default 'vendor/plugins' or an array of paths: ['vendor/plugins', 'lib/plugins']. Plugins are discovered in nested paths, so you can organize your plugins directory as you like. Refactor load_plugin from load_plugins. Simplify initializer unit test. Closes #2757. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make use of silence_stderr in script/lighttpd, script/plugin, and Rails::InfoSam Stephenson2005-11-071-11/+30
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move info.rb to rails_info.rb and load Rails::Info after initializationSam Stephenson2005-11-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/about to display formatted Rails::Info outputSam Stephenson2005-11-051-9/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Rails::Info to catalog assorted information about a Rails ↵Sam Stephenson2005-11-051-0/+77
| | | | | | application's environment git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make fcgi handler respond to TERM signals with an explicit exitJamis Buck2005-11-021-1/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Failsafe response handler for dispatcher.Jeremy Kemper2005-11-021-1/+38
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed scaffold generator when started with only 1 parameter (closes #2609) ↵David Heinemeier Hansson2005-10-281-0/+10
| | | | | | [self@mattmower.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Constants set in the development/test/production environment file are set in ↵Jamis Buck2005-10-232-0/+37
| | | | | | Object git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3576@sedna: jeremy | 2005-10-13 11:31:50 -0700Jeremy Kemper2005-10-131-9/+3
| | | | | | | Update fcgi_dispatcher_test for old changes to the FCGI handler: processing attr was removed, USR1 behaves the same (sets when_ready = :exit) whether or not currently handling request. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2555 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make table_name and controller_name in generators honor ↵Marcel Molina2005-09-281-0/+7
| | | | | | AR::Base.pluralize_table_names. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3023@asus: jeremy | 2005-07-12 23:43:39 -0700Jeremy Kemper2005-07-134-5/+8
| | | | | | | | | | | | | | | | | Remove superfluous inherited override in Dependencies. r3024@asus: jeremy | 2005-07-12 23:54:28 -0700 Make test the default railties rake target. r3025@asus: jeremy | 2005-07-12 23:55:27 -0700 Encapsulate dispatch call in dispatcher test. r3026@asus: jeremy | 2005-07-12 23:56:14 -0700 Expand dispatcher mock to match full method signature for process. r3027@asus: jeremy | 2005-07-12 23:57:24 -0700 Look for app-specific generators in RAILS_ROOT/generators instead of RAILS_ROOT/script/generators. r3028@asus: jeremy | 2005-07-13 00:00:47 -0700 Update changelog. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r1588@asus: jeremy | 2005-07-02 03:14:45 -0700Jeremy Kemper2005-07-023-7/+72
| | | | | | | Optional periodic garbage collection for dispatch.fcgi. Graceful exit on TERM also (a la Apache1). Ignore signals the platform does not support, such as USR1 on Windows. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use SIGHUP to dynamically reload an fcgi process without restarting it. ↵Jamis Buck2005-06-291-29/+54
| | | | | | Refactored dispatch.fcgi so that the RailsFCGIHandler is in the lib dir. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionMailer::Base subclasses are reloaded with other rails components #1262Jamis Buck2005-06-241-0/+63
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing parameter for trap_handler in dispatch.fcgiJamis Buck2005-06-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored dispatch.fcgi. Added unit tests for dispatch.fcgi. Added trap to ↵Jamis Buck2005-06-223-0/+119
| | | | | | recognize HUP as a graceful termination command. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A hopefully more successful attempt at the Routing branch mergeDavid Heinemeier Hansson2005-02-151-9/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of routing merge.. investigating missing patchesDavid Heinemeier Hansson2005-02-151-16/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merged back the Routing branchDavid Heinemeier Hansson2005-02-151-9/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added new generator framework that informs about its doings on generation ↵David Heinemeier Hansson2005-02-072-73/+55
| | | | | | and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Brought unit tests up to dateDavid Heinemeier Hansson2004-12-152-16/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated the usage documentation for the generator actions for their new homeDavid Heinemeier Hansson2004-12-091-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a better generator for scaffolding that actually creates the code, so ↵David Heinemeier Hansson2004-12-072-0/+95
| | | | | | it can be edited bit by bit. See "script/generate scaffold" [bitsweat]. Added a whole new approach to generators that used the shared "script/generate" command. Run with no-args to see help [bitsweat]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@63 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-241-0/+30
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de