Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't pollute Object with rubinius_skip and jruby_skip | Akira Matsuda | 2017-01-17 | 1 | -9/+9 |
| | | | | we call them only in the tests | ||||
* | applies new string literal convention in railties/test | Xavier Noria | 2016-08-06 | 1 | -12/+12 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Remove load_paths file | Arthur Neves | 2016-02-27 | 1 | -2/+0 |
| | |||||
* | Revert "Leave all our tests as order_dependent! for now" | Matthew Draper | 2015-03-06 | 1 | -5/+0 |
| | | | | | | | | | | | | This reverts commit 2f52f969885b2834198de0045748436a4651a94e. Conflicts: actionmailer/test/abstract_unit.rb actionview/test/abstract_unit.rb activemodel/test/cases/helper.rb activerecord/test/cases/helper.rb activesupport/test/abstract_unit.rb railties/test/abstract_unit.rb | ||||
* | - Extracted silence_stream method to new module in activesupport/testing. | Vipul A M | 2015-01-20 | 1 | -18/+3 |
| | | | | | | | | | | | | - Added include for the same in ActiveSupport::Test. - Removed occurrences of silence_stream being used elsewhere. - Reordered activesupport testcase requires alphabetically. - Removed require of silence stream from test_case - Moved quietly method to stream helper - Moved capture output to stream helper module and setup requires for the same elsewhere | ||||
* | Always define capture to remove the deprecation message | Rafael Mendonça França | 2014-09-11 | 1 | -17/+15 |
| | |||||
* | Default to sorting user's test cases for now | Godfrey Chan | 2014-09-08 | 1 | -1/+1 |
| | | | | | | | | | | | Goals: 1. Default to :random for newly generated applications 2. Default to :sorted for existing applications with a warning 3. Only show the warning once 4. Only show the warning if the app actually uses AS::TestCase Fixes #16769 | ||||
* | Leave all our tests as order_dependent! for now | Matthew Draper | 2014-09-02 | 1 | -0/+4 |
| | | | | | | | | | We're seeing too many failures to believe otherwise. This reverts commits bc116a55ca3dd9f63a1f1ca7ade3623885adcc57, cbde413df3839e06dd14e3c220e9800af91e83ab, bf0a67931dd8e58f6f878b9510ae818ae1f29a3a, and 2440933fe2c27b27bcafcd9019717800db2641aa. | ||||
* | Railties tests are order_independent! Hopefully. | Akira Matsuda | 2014-08-13 | 1 | -4/+0 |
| | |||||
* | Nobody sucks so nobody should call this awful method name | Rafael Mendonça França | 2014-08-12 | 1 | -1/+1 |
| | |||||
* | users_dont_suck_but_only_we_suck_and_only_our_tests_are_order_dependent! | Akira Matsuda | 2014-08-12 | 1 | -0/+4 |
| | | | | | Calling ActiveSupport::TestCase.i_suck_and_my_tests_are_order_dependent! in AS::TestCase makes everyone's tests order dependent, which should never be done by the framework. | ||||
* | Keep quietly and capture undeprecated on your suite | Rafael Mendonça França | 2014-07-15 | 1 | -0/+23 |
| | |||||
* | standardize on jruby_skip & rbx_skip | Gaurish Sharma | 2014-01-13 | 1 | -0/+9 |
| | | | | | | This Adds helpers(jruby_skip & rbx_skip). In Future, Plan is to use these helpers instead of calls directly to RUBY_ENGINE/RbConfig/JRUBY_VERSION | ||||
* | Load secret_key_base from tokens.yml, fallback to config.secret_key_base | Guillermo Iguaran | 2013-12-12 | 1 | -1/+1 |
| | |||||
* | Add AV as development dependency for railties | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+1 |
| | | | | It's needed for tests | ||||
* | 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 | ||||
* | Refactor tests that switch RAILS_ENV and RACK_ENV | Carlos Antonio da Silva | 2012-12-06 | 1 | -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_base | Santiago Pastorino | 2012-11-03 | 1 | -1/+1 |
| | |||||
* | Use derived keys everywhere, http_authentication was missing it | Santiago Pastorino | 2012-11-03 | 1 | -0/+1 |
| | |||||
* | Ensure that Rails.env is equal to "test" by default when running tests. | Piotr Sarnacki | 2012-05-06 | 1 | -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/unit | Aaron Patterson | 2012-01-06 | 1 | -1/+1 |
| | |||||
* | * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger | Aaron Patterson | 2011-12-19 | 1 | -1/+0 |
| | | | | from Ruby stdlib. | ||||
* | Use RAILS_ISOLATED_ENGINE and fix namespaced generators tests | Stefan Sprenger | 2011-06-07 | 1 | -1/+0 |
| | |||||
* | Rails.application is set anyway, we don't need to set it manually, this was ↵ | Piotr Sarnacki | 2010-09-25 | 1 | -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 applications | Piotr Sarnacki | 2010-09-24 | 1 | -3/+6 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | AS::Isolation functional on Windows/JRuby. | Nick Sieger | 2010-06-24 | 1 | -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 lib | Joshua Peek | 2010-03-20 | 1 | -1/+0 |
| | |||||
* | Revert "Fix test load paths for those not using bundler" | Carlhuda | 2010-02-23 | 1 | -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 bundler | Joshua Peek | 2010-02-15 | 1 | -1/+6 |
| | |||||
* | Get rails tests running on bundler 0.9 | Carl Lerche | 2010-01-31 | 1 | -10/+2 |
| | |||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -1/+0 |
| | |||||
* | Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb | Carl Lerche | 2009-12-31 | 1 | -1/+1 |
| | |||||
* | Don't require initializer.rb in core.rb | Carl Lerche | 2009-12-28 | 1 | -1/+3 |
| | |||||
* | Have all the tests running off a single Gemfile | Yehuda Katz + Carl Lerche | 2009-10-20 | 1 | -8/+7 |
| | |||||
* | Bundle for railties tests too | Jeremy Kemper | 2009-10-19 | 1 | -9/+9 |
| | |||||
* | Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵ | Carl Lerche | 2009-10-16 | 1 | -5/+5 |
| | | | | application's object root) | ||||
* | Have config/application.rb contain the application definition and require ↵ | Carl Lerche | 2009-10-15 | 1 | -0/+1 |
| | | | | that file instead of config/boot.rb or config/environment.rb in script/*. | ||||
* | Rewrite FCGI handler test | Joshua Peek | 2009-10-05 | 1 | -12/+0 |
| | |||||
* | Try to load lib before trying to activate the gem for testing | Joshua Peek | 2009-10-05 | 1 | -2/+6 |
| | |||||
* | Fix railties tests | Joshua Peek | 2009-09-25 | 1 | -0/+2 |
| | |||||
* | More places to bump rack-test version [#3250 state:resolved] | Mike Gunderloy | 2009-09-23 | 1 | -1/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Railties test helpers need to activate rack gem | Joshua Peek | 2009-09-01 | 1 | -1/+4 |
| | |||||
* | Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 ↵ | Yehuda Katz + Carl Lerche | 2009-07-01 | 1 | -3/+0 |
| | | | | state:resolved] | ||||
* | Crazy hacks to get the Isolation testing module to work on non forking ↵ | Yehuda Katz + Carl Lerche | 2009-06-30 | 1 | -0/+2 |
| | | | | environments | ||||
* | Starting to replace scattered path configuration settings with the path object | Yehuda Katz + Carl Lerche | 2009-06-26 | 1 | -0/+1 |
| | |||||
* | Fix test failure introduced by 6099f261ea7c624aa45b47be7573ed1cab7b6b71 | Jeremy Kemper | 2009-02-25 | 1 | -1/+2 |
| | |||||
* | Test database middleware loading from the initializer. | Manfred Stienstra | 2009-02-25 | 1 | -1/+2 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Properly skip fcgi tests if the gem is not installed | Joshua Peek | 2009-02-16 | 1 | -0/+8 |
| | |||||
* | Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha. | Jeremy Kemper | 2009-02-03 | 1 | -7/+5 |
| | |||||
* | Accept a prefix argument to filter_backtrace_with_cleaning [#1456 ↵ | Manfred Stienstra | 2008-11-24 | 1 | -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> |