aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* stray character in railties testJoshua Peek2009-03-041-1/+1
|
* Enhanced Rails Metal - the load order of metals can now be configured [#2057 ↵Simon Jefford2009-03-036-0/+86
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Display gem dependencies correctly and unpack exactly once [#2097 ↵Matt Jones2009-03-011-1/+1
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added :env option for gem in template runner [#1983 state:resolved]Andrew Vit2009-02-281-0/+11
| | | | | | | | | For installing gems that are only needed in the test environment, specify the :env option so the dependency is written to config/environments/test.rb: gem 'rspec', :env => 'test' gem 'quietbacktrace', :env => %w[development test] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2009-02-272-2/+12
|\
| * Metal can now line in plugins under app/metal [#2045 state:committed]Matthew Rudy Jacobs2009-02-272-2/+12
| | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* | Skip console test when using minitestJeremy Kemper2009-02-271-20/+22
| |
* | Skip backtrace filter test when using minitestJeremy Kemper2009-02-271-20/+24
|/
* Fix test failure introduced by 6099f261ea7c624aa45b47be7573ed1cab7b6b71Jeremy Kemper2009-02-251-1/+2
|
* Test view path loading from the initializer.Manfred Stienstra2009-02-251-2/+26
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Test database middleware loading from the initializer.Manfred Stienstra2009-02-252-10/+50
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* load plugin view_paths to action_mailer view_paths and make action_mailer ↵Sven Fuchs2009-02-222-4/+8
| | | | | | use them [#2031 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix templates reloading in development when using custom view path [#2012 ↵Joshua Peek2009-02-191-1/+1
| | | | state:resolved]
* Properly skip fcgi tests if the gem is not installedJoshua Peek2009-02-162-5/+11
|
* Ensure template_runner can run script/* ruby scripts under Windows. [#1859 ↵unknown2009-02-161-3/+13
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix loader's LoadError exception message to mention missing plugins and omit ↵Oshoma Momoh2009-02-131-0/+20
| | | | | | | | | loaded plugins. Prior to this change the LoadError message listed all plugins if any one of them was missing. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1921 state:committed]
* Port fast reloadable templates from rails-dev-boost.thedarkone2009-02-121-1/+1
|
* Fix up failing tests broke by 2316e7dJoshua Peek2009-02-071-30/+31
|
* This is no longer relevant when the 500.html is comletely staticDavid Heinemeier Hansson2009-02-061-40/+0
|
* Fix broken scaffolding tests [#1889 state:committed]Mike Gunderloy2009-02-051-2/+2
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-038-558/+525
|
* Fix test broken by test process changesJeremy Kemper2009-01-071-7/+4
|
* Fixed bug where calling app method from console would raise ArgumentError ↵ddemaree2009-01-021-0/+9
| | | | | | [#1629 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix failing gem dependency tests [#1659 state:resolved]Mike Gunderloy2008-12-291-12/+12
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix FCGI dispatching testsMike Gunderloy2008-12-291-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>