aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/test_help.rb
Commit message (Collapse)AuthorAgeFilesLines
* Backport #6995 to 3-2 stableFrancesco Rodriguez2012-07-281-2/+2
| | | | | | | | | | | | Update `test_help` to config properly turn natural language option. Last versions of Turn don't monkey patch MiniTest to setup the natural language option. Here is an [example](https://github.com/TwP/turn/blob/master/try/test_autorun_minitest.rb#L3). This patches the following behaviour: $ rake test:units `<top (required)>': undefined method `use_natural_language_case_names=' for MiniTest::Unit:Class (NoMethodError)
* Modified how to handle if ActiveRecord is defined.Yasuo Honda2011-09-301-1/+1
|
* Removed AS core_ext/kernel/requires as it's not used and is bad practice.Josh Kalderimis2011-05-231-1/+0
|
* make turn a soft dependency. generate a Gemfile that contains turn and ↵Aaron Patterson2011-04-081-3/+7
| | | | require turn if it is available
* Moved Turn activation/dependency to railtiesDavid Heinemeier Hansson2011-03-311-0/+8
|
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-201-11/+0
|\ | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/persistence.rb
| * do not require ruby-debug automatically. please require it if you have ↵Aaron Patterson2010-11-191-11/+0
| | | | | | | | declared it as a dependency
* | Flush IdentityMap when running tests.Emilio Tagua2010-11-191-0/+4
|/
* Remove deprecated stuff in ActionControllerCarlos Antonio da Silva2010-09-261-1/+1
| | | | | | This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController.
* Update abort message (ht: tilsammans).José Valim2010-09-251-1/+1
|
* only abort in test_help in production envDavid Chelimsky2010-09-241-3/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make assert_recognizes work in IntegrationTest [#4390 state:committed]Matthew Rudy Jacobs2010-04-241-1/+3
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Missed a few spots in railtiesJoshua Peek2010-03-301-1/+1
|
* Explicitly require files before monkey patching them.José Valim2010-03-231-1/+5
|
* Better with #abortJoao Carlos2010-03-031-4/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* #exit accepts an integer, not a stringJoao Carlos2010-02-281-1/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Rename named_url_helpers to url_helpers and url_helpers to url_forCarlhuda2010-02-261-1/+1
|
* Get URL helpers working again in integration tests.Carlhuda2010-02-251-0/+4
|
* Final pass at removing the router from a global constantCarlhuda2010-02-251-0/+6
|
* Resolve test/unit load ordering by removing backtrace filter from boot ↵Jeremy Kemper2010-02-111-0/+6
| | | | initializers
* Get everyone running on Rails.env and fix the broken environment settings ↵David Heinemeier Hansson2010-01-111-1/+1
| | | | for script/console and script/dbconsole
* use_instantiated_fixtures and use_transactional_fixtures defaults are set in ↵Joshua Peek2010-01-041-2/+0
| | | | active_record/fixtures
* rack and rack-test are pulled in by ADJoshua Peek2010-01-041-3/+0
|
* Autoload AR test caseJoshua Peek2010-01-041-3/+0
|
* Autoload AMo test caseJoshua Peek2010-01-041-2/+0
|
* Autoload AM test case classJoshua Peek2010-01-041-1/+0
|
* Autoload AC and AV test case classesJoshua Peek2010-01-041-4/+0
|
* Dont auto require rubygems, move dep on rack-test to GemfileDavid Heinemeier Hansson2009-12-221-3/+2
|
* Don't require AD test_caseJoshua Peek2009-12-121-1/+0
|
* Reorganize autoloads:Carlhuda2009-12-021-0/+6
| | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
* Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵Carl Lerche2009-10-161-1/+1
| | | | application's object root)
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-0/+41