aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Partially revert 185fe2e9cce737d69d3b47a656f3651ce152c0c1Michael Koziarski2008-09-241-1/+1
| | | | We shouldn't quote the unpack command's requirement as it's passed through GemRunner which takes care of it for us.
* Prevent deprecation warning in the testsMichael Koziarski2008-08-281-1/+3
|
* Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom.Hongli Lai (Phusion2008-08-271-8/+0
| | | | | | | SecureRandom has a few minor security enhancements and can be used as a drop-in replacement Signed-off-by: Michael Koziarski <michael@koziarski.com> [#913 state:committed]
* The 'rails' command was broken by the last commit. Fix that.Hongli Lai (Phusion2008-08-261-1/+7
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* When an unexpected exception is caught, tell the administrator to read the ↵Hongli Lai (Phusion2008-08-261-0/+37
| | | | | | log file for more information about the error. This should make things less confusing for developers who are new to Rails. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Generate belongs_to association when generating a modelTarmo Tänav2008-08-231-0/+8
|
* Generate belongs_to associations automatically for 'references' types [#640 ↵Tarmo Tänav2008-08-231-0/+8
| | | | state:resolved]
* Initializer to sort files before eager loading. [#859 state:resolved]Tom Ward2008-08-223-0/+23
| | | | | | | | Changed Rails::Initializer to sort files before eager loading them. This ensures that any files in a parent directory will be loaded before files in a subdirectory of the 'same' name. i.e. zoo.rb will be loaded before zoo/reptile_house.rb Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make requiring gems optional.Ben Sandofsky2008-08-041-0/+9
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#743 state:resolved]
* Check for ActionMailer and ActionController before attempting to eager load ↵Sam Granieri2008-07-241-1/+20
| | | | | | their view paths Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Stub out timestamped_migrations in generator testsJoshua Peek2008-07-191-1/+2
|
* Merge with docrails.Pratik Naik2008-07-161-1/+1
|
* Added tests to show that 2d372d7 breaks old generator behavior (#545 ↵Joshua Peek2008-07-111-0/+19
| | | | state:resolved)
* Warn and uses singularized ModelName if a plural ModelName is given to ↵Pat George2008-06-271-0/+42
| | | | | | script/generate. Override with --force-plural. [#333 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix discrepancies with loading rails/init.rb from gems. [#324 state:resolved]rick2008-06-081-1/+1
|
* Make plugins initialize also from rails/init.rb to ensure consistency with ↵Jacek Becela2008-06-087-15/+33
| | | | | | gems used as plugins [#272 state:resolved]
* Wrap Initializer after_initialize inside mocha block.Joshua Peek2008-06-071-48/+48
|
* Fix that Rails::InfoController testsPratik Naik2008-06-051-0/+4
|
* Fixed deprecated call to Dependencies in plugin loader test.Joshua Peek2008-06-041-4/+4
|
* Fixed initializer tests by stubbing out gems dependencies check.Joshua Peek2008-06-021-16/+18
|
* In 9c4f003, gem installation quotes versions. Do the same for unpack and ↵Joshua Peek2008-06-021-8/+8
| | | | update tests to reflect the change.
* Merge docrails.Pratik Naik2008-05-252-31/+31
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add some test coverage for RailsControllerGenerator.Joshua Peek2008-05-132-10/+44
|
* Use .gitignore as the convention for dummy file names.Joshua Peek2008-04-246-0/+0
|
* Rails Edge info returns the latest git commit hash [#36 state:resolved]Francesc Esplugas2008-04-221-38/+32
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Don't require generator_test_helper in RailsGeneratorTest.Joshua Peek2008-04-211-3/+12
|
* Add .empty files to empty directories so git preserves them.Joshua Peek2008-04-216-0/+0
|
* * Remove default_url_options from mailer generatorCody Fauser2008-04-211-3/+3
| | | | | | * Improve mailer documentation regarding generating URLs * Add no_match to mailer generator to warn contributors about default_url_options Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Add back empty plugin folders that were lost when we moved to git.Joshua Peek2008-04-214-32/+32
|
* Revert "Update plugin loading tests to reflect changes in plugin fixtures."Joshua Peek2008-04-213-79/+86
| | | | This reverts commit eef9002968609a0d8d4a8006aebcd6f18f993f4a.
* Update plugin loading tests to reflect changes in plugin fixtures.Joshua Peek2008-04-213-86/+79
|
* Gem dependencies don't require a version. Also fixed up failing gem ↵Joshua Peek2008-04-211-0/+4
| | | | dependency tests.
* Mock RailsFCGIHandler and Dispatcher to stop mocha deprecation warnings.Joshua Peek2008-04-211-6/+24
|
* Add example for default_url_options[:host] to generated mailers.Mislav Marohnić2008-04-181-1/+4
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Changed mailer generator to not use instance variables.Mislav Marohnić2008-04-181-6/+6
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Cleanup generator tests by extracting repeated code into ↵Mislav Marohnić2008-04-185-358/+225
| | | | | | generator_test_helper. Add test for mailer generator. Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Refactor Dispatcher callbacks to remove unnecessary Dependencies checks in ↵Pratik Naik2008-04-181-9/+12
| | | | production environment.
* Update fcgi dispatcher test cases. Closes #11471 [guillaume]Jeremy Kemper2008-04-031-7/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improving railties test coverage. Closes #11496 [miloops]Jeremy Kemper2008-04-014-2/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update generator tests. Closes #11487 [thechrisoshow]Jeremy Kemper2008-04-015-137/+141
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added config.gem for specifying which gems are required by the application, ↵Rick Olson2008-03-301-0/+62
| | | | | | as well as rake tasks for installing and freezing gems. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missing test dataDavid Heinemeier Hansson2008-03-274-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Plugin#about method to programmatically access the about.yml in a ↵David Heinemeier Hansson2008-03-272-14/+27
| | | | | | plugin (closes #10979) [lazyatom] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that script/generate would not look for plugin generators in ↵David Heinemeier Hansson2008-03-133-0/+48
| | | | | | plugin_paths (closes #11000) [glv] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sort the results to remove platform dependent test failuresMichael Koziarski2008-02-201-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-053-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8569 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-058-11/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8568 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compatibility. References #1689.Jeremy Kemper2007-12-171-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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