Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added generated unit test for generator generator and new test:generators ↵ | Josef Šimánek | 2013-07-16 | 1 | -0/+1 |
| | | | | rake task included in test:all rake task. | ||||
* | Don't configure Turn output, we aren't using it since 3.2.0 | Guillermo Iguaran | 2013-01-07 | 1 | -7/+0 |
| | |||||
* | Don't require 'turn' from rails/test_help | Aaron Suggs | 2013-01-07 | 1 | -5/+2 |
| | | | | | | | | | | | | If 'turn' is in the Gemfile with `:require => nil`, Rails should respect that. This supports the case where 'turn' may or may not be required depending on different developers' preference or environment. E.g., you require turn for local testing, but not on your CI server by putting this in `test/test_helper.rb`: require 'turn' if ENV['TURN'] | ||||
* | Add active_support/testing/autorun | Rafael Mendonça França | 2012-12-31 | 1 | -1/+1 |
| | | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails | ||||
* | Rename "Fixtures" class to "FixtureSet" | Alexey Muranov | 2012-10-07 | 1 | -2/+2 |
| | | | | Rename `ActiveRecord::Fixtures` class to `ActiveRecord::FixtureSet`. Instances of this class normally hold a collection of fixtures (records) loaded either from a single YAML file, or from a file and a folder with the same name. This change make the class name singular and makes the class easier to distinguish from the modules like `ActiveRecord::TestFixtures`, which operates on multiple fixture sets, or `DelegatingFixtures`, `::Fixtures`, etc., and from the class `ActiveRecord::Fixture`, which corresponds to a single fixture. | ||||
* | use Rails backtrace in tests | Francesco Rodriguez | 2012-10-05 | 1 | -0/+4 |
| | |||||
* | update test_help to config properly turn natural language option | Francesco Rodriguez | 2012-07-06 | 1 | -1/+4 |
| | | | | | | | | | | | | 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) | ||||
* | Remove IdentityMap | Carlos Antonio da Silva | 2012-03-13 | 1 | -4/+0 |
| | |||||
* | if turn available then ↵ | Vishnu Atrai | 2012-01-07 | 1 | -4/+1 |
| | | | | MiniTest::Unit.respond_to?(:use_natural_language_case_names=) available | ||||
* | Merge pull request #4360 from rafaelfranca/patch-1 | Aaron Patterson | 2012-01-06 | 1 | -13/+6 |
|\ | | | | | Remove more references to Test::Unit | ||||
| * | MiniTest is always defined in this case | Rafael Mendonça França | 2012-01-06 | 1 | -8/+6 |
| | | |||||
| * | Test::Unit::Util::BacktraceFilter is never defined | Rafael Mendonça França | 2012-01-06 | 1 | -5/+0 |
| | | |||||
* | | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 1 | -1/+1 |
|/ | |||||
* | do not require a file that is not used | Aaron Patterson | 2012-01-05 | 1 | -2/+0 |
| | |||||
* | Modified how to handle if ActiveRecord is defined. | Yasuo Honda | 2011-09-30 | 1 | -1/+1 |
| | |||||
* | Removed AS core_ext/kernel/requires as it's not used and is bad practice. | Josh Kalderimis | 2011-05-23 | 1 | -1/+0 |
| | |||||
* | make turn a soft dependency. generate a Gemfile that contains turn and ↵ | Aaron Patterson | 2011-04-08 | 1 | -3/+7 |
| | | | | require turn if it is available | ||||
* | Moved Turn activation/dependency to railties | David Heinemeier Hansson | 2011-03-31 | 1 | -0/+8 |
| | |||||
* | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2010-12-20 | 1 | -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 Patterson | 2010-11-19 | 1 | -11/+0 |
| | | | | | | | | declared it as a dependency | ||||
* | | Flush IdentityMap when running tests. | Emilio Tagua | 2010-11-19 | 1 | -0/+4 |
|/ | |||||
* | Remove deprecated stuff in ActionController | Carlos Antonio da Silva | 2010-09-26 | 1 | -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é Valim | 2010-09-25 | 1 | -1/+1 |
| | |||||
* | only abort in test_help in production env | David Chelimsky | 2010-09-24 | 1 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make assert_recognizes work in IntegrationTest [#4390 state:committed] | Matthew Rudy Jacobs | 2010-04-24 | 1 | -1/+3 |
| | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Missed a few spots in railties | Joshua Peek | 2010-03-30 | 1 | -1/+1 |
| | |||||
* | Explicitly require files before monkey patching them. | José Valim | 2010-03-23 | 1 | -1/+5 |
| | |||||
* | Better with #abort | Joao Carlos | 2010-03-03 | 1 | -4/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | #exit accepts an integer, not a string | Joao Carlos | 2010-02-28 | 1 | -1/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rename named_url_helpers to url_helpers and url_helpers to url_for | Carlhuda | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | Get URL helpers working again in integration tests. | Carlhuda | 2010-02-25 | 1 | -0/+4 |
| | |||||
* | Final pass at removing the router from a global constant | Carlhuda | 2010-02-25 | 1 | -0/+6 |
| | |||||
* | Resolve test/unit load ordering by removing backtrace filter from boot ↵ | Jeremy Kemper | 2010-02-11 | 1 | -0/+6 |
| | | | | initializers | ||||
* | Get everyone running on Rails.env and fix the broken environment settings ↵ | David Heinemeier Hansson | 2010-01-11 | 1 | -1/+1 |
| | | | | for script/console and script/dbconsole | ||||
* | use_instantiated_fixtures and use_transactional_fixtures defaults are set in ↵ | Joshua Peek | 2010-01-04 | 1 | -2/+0 |
| | | | | active_record/fixtures | ||||
* | rack and rack-test are pulled in by AD | Joshua Peek | 2010-01-04 | 1 | -3/+0 |
| | |||||
* | Autoload AR test case | Joshua Peek | 2010-01-04 | 1 | -3/+0 |
| | |||||
* | Autoload AMo test case | Joshua Peek | 2010-01-04 | 1 | -2/+0 |
| | |||||
* | Autoload AM test case class | Joshua Peek | 2010-01-04 | 1 | -1/+0 |
| | |||||
* | Autoload AC and AV test case classes | Joshua Peek | 2010-01-04 | 1 | -4/+0 |
| | |||||
* | Dont auto require rubygems, move dep on rack-test to Gemfile | David Heinemeier Hansson | 2009-12-22 | 1 | -3/+2 |
| | |||||
* | Don't require AD test_case | Joshua Peek | 2009-12-12 | 1 | -1/+0 |
| | |||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 1 | -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 Lerche | 2009-10-16 | 1 | -1/+1 |
| | | | | application's object root) | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -0/+41 |