aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/abstract_unit.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add active_support/testing/autorunRafael Mendonça França2012-12-311-1/+1
| | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails
* Refactor tests that switch RAILS_ENV and RACK_ENVCarlos Antonio da Silva2012-12-061-1/+0
| | | | | | | | | | | | This cleanup aims to fix a build failure: https://travis-ci.org/rails/rails/jobs/3515951/#L482 Since travis always have both ENV vars set to "test", a test is failing where it's expected to output the default env "development", but "test" is the result due to RACK_ENV being set when we expect it to not be. By cleaning this duplication we ensure that changing any of these env variables will pick the right expected value.
* Rename secret_token_key to secret_key_baseSantiago Pastorino2012-11-031-1/+1
|
* Use derived keys everywhere, http_authentication was missing itSantiago Pastorino2012-11-031-0/+1
|
* Ensure that Rails.env is equal to "test" by default when running tests.Piotr Sarnacki2012-05-061-0/+2
| | | | | Rails.env when running tests on localhost differs from travis ci which makes it harder to write tests that check env related things.
* require minitest rather than test/unitAaron Patterson2012-01-061-1/+1
|
* * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the loggerAaron Patterson2011-12-191-1/+0
| | | | from Ruby stdlib.
* Use RAILS_ISOLATED_ENGINE and fix namespaced generators testsStefan Sprenger2011-06-071-1/+0
|
* Rails.application is set anyway, we don't need to set it manually, this was ↵Piotr Sarnacki2010-09-251-2/+0
| | | | | | purpose of different behavior in tests and in application Signed-off-by: José Valim <jose.valim@gmail.com>
* Generators are not aware of namespace of isolated engines and applicationsPiotr Sarnacki2010-09-241-3/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* AS::Isolation functional on Windows/JRuby.Nick Sieger2010-06-241-2/+0
| | | | | | Doesn't make up for the fact that it's slooooooooow, though. Signed-off-by: wycats <wycats@gmail.com>
* Move railties/builtin into libJoshua Peek2010-03-201-1/+0
|
* 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-10/+2
|
* Autoload AS test caseJoshua Peek2010-01-041-1/+0
|
* Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rbCarl Lerche2009-12-311-1/+1
|
* Don't require initializer.rb in core.rbCarl Lerche2009-12-281-1/+3
|
* Have all the tests running off a single GemfileYehuda Katz + Carl Lerche2009-10-201-8/+7
|
* Bundle for railties tests tooJeremy Kemper2009-10-191-9/+9
|
* Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵Carl Lerche2009-10-161-5/+5
| | | | application's object root)
* Have config/application.rb contain the application definition and require ↵Carl Lerche2009-10-151-0/+1
| | | | that file instead of config/boot.rb or config/environment.rb in script/*.
* Rewrite FCGI handler testJoshua Peek2009-10-051-12/+0
|
* Try to load lib before trying to activate the gem for testingJoshua Peek2009-10-051-2/+6
|
* Fix railties testsJoshua Peek2009-09-251-0/+2
|
* More places to bump rack-test version [#3250 state:resolved]Mike Gunderloy2009-09-231-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Railties test helpers need to activate rack gemJoshua Peek2009-09-011-1/+4
|
* Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 ↵Yehuda Katz + Carl Lerche2009-07-011-3/+0
| | | | state:resolved]
* Crazy hacks to get the Isolation testing module to work on non forking ↵Yehuda Katz + Carl Lerche2009-06-301-0/+2
| | | | environments
* Starting to replace scattered path configuration settings with the path objectYehuda Katz + Carl Lerche2009-06-261-0/+1
|
* Fix test failure introduced by 6099f261ea7c624aa45b47be7573ed1cab7b6b71Jeremy Kemper2009-02-251-1/+2
|
* Test database middleware loading from the initializer.Manfred Stienstra2009-02-251-1/+2
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Properly skip fcgi tests if the gem is not installedJoshua Peek2009-02-161-0/+8
|
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-031-7/+5
|
* Accept a prefix argument to filter_backtrace_with_cleaning [#1456 ↵Manfred Stienstra2008-11-241-1/+2
| | | | | | | | | 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
|
* RailsFCGIHandler tests. Closes #9630.Jeremy Kemper2007-09-231-10/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7593 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dispatcher tests. References #9630.Jeremy Kemper2007-09-231-0/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dispatcher test requires abstract_unit. Cleanup abstract_unit.Jeremy Kemper2007-03-011-4/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont run FCGIDispatcher tests if mocha is not availableDavid Heinemeier Hansson2006-09-151-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Thoroughly test the FCGI dispatcher. Closes #5970.Jeremy Kemper2006-09-031-0/+22
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de