aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* Ruby 1.9 compat: File.exists\? -> File.exist\? en masse. References #1689 ↵Jeremy Kemper2007-12-104-32/+32
| | | | | | [Pratik Naik] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow double quotes around RAILS_GEM_VERSION also. Closes #10443 [James Cox]Jeremy Kemper2007-12-101-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8358 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typos (closes #10378)David Heinemeier Hansson2007-12-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce SecretKeyGenerator for more secure session secrets than ↵Jeremy Kemper2007-11-281-0/+35
| | | | | | CGI::Session's pseudo-random id generator. Consider extracting to Active Support later. Closes #10286. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* RAILS_GEM_VERSION may be set to any valid gem version specifier. Closes #10057.Jeremy Kemper2007-11-171-2/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load config/preinitializer.rb, if present, before loading the environment. ↵Jeremy Kemper2007-11-171-1/+18
| | | | | | Closes #9943. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure the plugin loader only loads plugins once. Closes #10102 [haruki_zaemon]Rick Olson2007-11-081-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor Plugin Loader. Add plugin lib paths early, and add lots of tests. ↵Rick Olson2007-11-085-129/+409
| | | | | | Closes #9795 [lazyatom] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor and test boot.rb. Include tests from and closes #9834.Jeremy Kemper2007-10-231-0/+145
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7998 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Model generator tests. Closes #8966 [abhay]Jeremy Kemper2007-10-111-0/+109
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Whitespace fix. Closes #9845.Jeremy Kemper2007-10-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tidy up framework initialization code to ensure that it doesn't add folders ↵Michael Koziarski2007-10-041-0/+53
| | | | | | | | | to the load path that it doesn't intend to require. Work around mongrel swallowing LoadErrors to ensure that users get more helpful errors if active_resource is required but not missing. [mislav] Closes #9743 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move Railties' Dispatcher to ActionController::Dispatcher, introduce before_ ↵Jeremy Kemper2007-09-262-121/+4
| | | | | | and after_dispatch callbacks, and warm up to non-CGI requests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* RailsFCGIHandler tests. Closes #9630.Jeremy Kemper2007-09-236-181/+156
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7593 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dispatcher tests. References #9630.Jeremy Kemper2007-09-233-76/+48
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make tests run with mocha gemDavid Heinemeier Hansson2007-09-221-4/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #9203) [lazyatom]David Heinemeier Hansson2007-09-221-5/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added symbols as a legal way of specifying plugins in config.plugins (closes ↵David Heinemeier Hansson2007-09-221-7/+13
| | | | | | #9629) [tom] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix test (closes #9618)David Heinemeier Hansson2007-09-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the :all option to config.plugins thatll include the rest of the ↵David Heinemeier Hansson2007-09-212-0/+26
| | | | | | plugins not already explicitly named (closes #9613) [fcheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support multiple config.after_initialize blocks so plugins and apps can more ↵Jeremy Kemper2007-09-181-7/+69
| | | | | | easily cooperate. Closes #9582. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* misc doc fixes + Add ActiveResource to Rails::Info. Closes #8741, #9008, ↵Rick Olson2007-07-251-0/+7
| | | | | | #9089 [kampers] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing testDavid Heinemeier Hansson2007-06-231-0/+106
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added --skip-migration option to scaffold and resource generators (closes ↵David Heinemeier Hansson2007-06-232-37/+60
| | | | | | #8656) [Michael Glaesemann] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that dispatcher preparation callbacks only run once in production ↵Rick Olson2007-06-151-0/+7
| | | | | | mode. Mock Routes.reload so that dispatcher preparation callback tests run. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Get picky about weird Ruby style.Jeremy Kemper2007-06-101-12/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6991 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffolded validation errors set the appropriate HTTP status for XML ↵Jeremy Kemper2007-06-101-28/+30
| | | | | | responses. Closes #8622. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed svn add from [6897]. References #8393.Jeremy Kemper2007-05-291-0/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generated migrations include timestamps by default. Closes #8501.Jeremy Kemper2007-05-291-1/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold generator tests. Closes #8443.Jeremy Kemper2007-05-232-0/+344
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix generator test broken by scaffold change. Closes #8402.Jeremy Kemper2007-05-181-4/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug ↵David Heinemeier Hansson2007-04-281-28/+0
| | | | | | by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Canonicalize configuration.root_path and replace RAILS_ROOT.Jeremy Kemper2007-03-292-16/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move responsibility for ensuring that all registered gems were loaded from ↵Marcel Molina2007-03-031-8/+8
| | | | | | the FileSystemLocator into the Initializer once all locators have had a chance to load the gems they located. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6292 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Split out the basic plugin locator functionality into an abstract super ↵Marcel Molina2007-03-023-22/+23
| | | | | | class. Add a FileSystemLocator to do the job of checking the plugin_paths for plugins. Add plugin_locators configuration option which will iterate over the set of plugin locators and load each of the plugin loaders they return. Rename locater everywhere to locator. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Split plugin location and loading out of the initializer and into a new ↵Marcel Molina2007-03-025-111/+136
| | | | | | Plugin namespace, which includes Plugin::Locater and Plugin::Loader. The loader class that is used can be customized using the config.plugin_loader option. Those monkey patching the plugin loading subsystem take note, the internals changing here will likely break your modifications. The good news is that it should be substantially easier to hook into the plugin locating and loading process now. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dispatcher test requires abstract_unit. Cleanup abstract_unit.Jeremy Kemper2007-03-012-8/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reapply plugin load path changes from [5720]Michael Koziarski2006-12-181-3/+34
| | | | | | | | Closes #6842 Closes #6851 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert [5720] Michael Koziarski2006-12-161-28/+2
| | | | | | | | Reopens #6581 Reopens #6842 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make config.plugins affect $LOAD_PATH and remove duplication from $LOAD_PATH ↵Michael Koziarski2006-12-151-2/+28
| | | | | | | | | | | [James Adam] Closes #6581 Closes #6842 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test session table pluralization. Closes #6459.Jeremy Kemper2006-11-201-7/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nested class gets qualified names.Jeremy Kemper2006-11-111-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont run FCGIDispatcher tests if mocha is not availableDavid Heinemeier Hansson2006-09-153-3/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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