aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove useless load path modificationsSantiago Pastorino2012-05-111-3/+0
|
* require minitest rather than test/unitAaron Patterson2012-01-061-1/+1
|
* No more need rubygems here.Arun Agrawal2011-05-221-1/+0
|
* do not require ruby-debug automatically. please require it if you have ↵Aaron Patterson2010-11-191-6/+0
| | | | declared it as a dependency
* Add missing ActiveModel::Validations requireGreg Campbell2010-08-121-1/+0
| | | | | | | | | | | [#5311 state: resolved] ActiveModel::Validations uses Hash#except, but does not require it from ActiveSupport. (This wasn't showing up in the tests, because it was required in the helper, and was also required in ActiveModel::Serialization). Signed-off-by: José Valim <jose.valim@gmail.com>
* should be able to run ActiveModel validations_test [#4933 state:resolved]Neeraj Singh2010-06-221-0/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* removed AR from all AMo tests, including any unneeded files (schema, ↵Josh Kalderimis2010-05-091-0/+1
| | | | fixtures and test helper)
* ensure activemodel lib is setup correctlyJoshua Peek2010-02-281-0/+3
|
* Revert "Fix test load paths for those not using bundler"Carlhuda2010-02-231-6/+1
| | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path.
* Fix test load paths for those not using bundlerJoshua Peek2010-02-151-1/+6
|
* Get rails tests running on bundler 0.9Carl Lerche2010-01-311-7/+1
|
* Autoload AMo test caseJoshua Peek2010-01-041-1/+0
|
* Fully expand relative rails framework paths and make sure we aren'tJoshua Peek2009-12-161-4/+2
| | | | adding any to the load path more than once.
* Reorganize autoloads:Carlhuda2009-12-021-0/+1
| | | | | | | | | | | | | | | | | | | | | * 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.
* Avoid adding component lib/ to load path multiple timesJoshua Peek2009-11-091-1/+3
|
* Have all the tests running off a single GemfileYehuda Katz + Carl Lerche2009-10-201-7/+6
|
* Bundle AMoYehuda Katz2009-10-151-2/+7
|
* Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 ↵Yehuda Katz + Carl Lerche2009-07-011-2/+0
| | | | state:resolved]
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-16/+1
|
* Add test sqlite3 db to .gitignorePratik Naik2009-03-201-4/+1
|
* Make Active Model test suite similar to Active RecordPratik Naik2009-03-201-0/+38