aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* Make tests passYehuda Katz2009-02-022-2/+2
|
* Fix test broken by test process changesJeremy Kemper2009-01-091-7/+4
|
* Sync 'rails/rails/master'Yehuda Katz2009-01-021-0/+9
|
* Fix failing gem dependency tests [#1659 state:resolved]Mike Gunderloy2009-01-011-12/+12
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix FCGI dispatching testsMike Gunderloy2009-01-011-42/+7
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure template runner tests don't depend on hash ordering [#1654 ↵Mike Gunderloy2008-12-281-1/+1
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Adding test coverage and better logging to Rails::TemplateRunner [#1618 ↵Aaron Quint2008-12-271-0/+190
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Switch to Rack based session stores.Joshua Peek2008-12-151-0/+1
|
* How'd that sneak in there?Jeremy Kemper2008-12-091-1/+0
|
* handle missing dependecies in gem loadingMatt Jones2008-12-015-0/+94
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* fix failing railties testJoshua Peek2008-12-011-2/+2
|
* Changed Rails.root to return a Pathname object (allows for ↵David Heinemeier Hansson2008-11-301-2/+2
| | | | Rails.root.join("app", "controllers") => "#{RAILS_ROOT}/app/controllers") [#1482]
* Enhanced Rails.root to take parameters that'll be join with the root, like ↵David Heinemeier Hansson2008-11-291-0/+10
| | | | Rails.root('app', 'controllers') => File.join(Rails.root, 'app', 'controllers') [#1482 state:committed] (Damian Janowski)
* Added view path support for engines [DHH]David Heinemeier Hansson2008-11-272-112/+118
|
* Added that config/routes.rb files in engine plugins are automatically loaded ↵David Heinemeier Hansson2008-11-266-1/+12
| | | | (and reloaded when they change in dev mode) [DHH]
* Added app/[models|controllers|helpers] to the load path for plugins that has ↵David Heinemeier Hansson2008-11-262-10/+23
| | | | an app directory (go engines ;)) [DHH]
* Explicitly require AS::Deprecation for the SecretKeyGenerator. Bring in ↵Jeremy Kemper2008-11-241-1/+1
| | | | ActiveSupport::TestCase for its tests.
* Skip fcgi dispatcher tests if fcgi lib isn't availableJeremy Kemper2008-11-241-3/+4
|
* Explicitly require action_view to bring in its i18n load pathJeremy Kemper2008-11-241-0/+3
|
* Rename Rails::Info.components to frameworksJeremy Kemper2008-11-241-5/+5
|
* Accept a prefix argument to filter_backtrace_with_cleaning [#1456 ↵Manfred Stienstra2008-11-242-1/+30
| | | | | | | | | state:committed] Add a prefix argument to filter_backtrace_with_cleaning so it has the same arity as test/unit's filter_backtrace. Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Require Mocha >= 0.9.3 which includes a MiniTest adapterJeremy Kemper2008-11-231-6/+3
|
* Reflect default locale change from en-US to enJeremy Kemper2008-11-191-3/+3
|
* Added config.i18n settings gatherer to config/environment, auto-loading of ↵David Heinemeier Hansson2008-11-181-2/+47
| | | | all locales in config/locales/*.rb,yml, and config/locales/en.yml as a sample locale [DHH]
* Add helper test generators [#1199 state:resolved]Eugene Bolshakov2008-11-175-27/+83
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Appropriate test case subclasses to get assert_tag and assert_deprecatedJeremy Kemper2008-11-152-2/+2
|
* Really silence spec warnings when running GemDependency tests [#1308 ↵Jeffrey Hardy2008-10-311-3/+2
| | | | | | state:resolved] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Don't include the path when checking class collisions [#545 state:resolved]Joshua Peek2008-10-131-0/+3
|
* Make VendorGemSourceIndex handle broken/missing specs generated by previous ↵Matt Jones2008-10-134-0/+50
| | | | | | versions. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix a number of errors in the config.gem mechanism.Matt Jones2008-10-0511-5/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rails::GemDependency was missing definitions for hash and eql?, causing Array#uniq to not work. * If several versions of a gem are unpacked in vendor, now chooses the highest if no version is specified. * streamlined add_load_path. Now sets up Rubygems correctly to allow 'gem' to find frozen gems, with gems frozen to vendor/gems and specifications in vendor/gems/<gem-name>/.specification * Rails::GemDependency#specification would return a spec for the highest installed version, even for frozen gems and/or previously loaded lower versions. See in part ticket #1123. * removed vendor from default_load_paths - it was causing autoloading to append Gems::Gems::<gem-dir> to constant names * added additional tests for loading frozen gems. * incorporates the fix from #1107 for vendor rails * defers to freeze:gems for handling the Rails framework. gems:unpack WILL NOT place a copy of Rails in vendor/gems. Should close #1123 completely. * incorporates, via using the gem loader for frozen gems, fixes corresponding to #227, #324, #362, #527, and #742. * gem plugins now work the same whether frozen or not. Correctness of the behavior is a matter for another ticket... Signed-off-by: rick <technoweenie@gmail.com>
* 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
|