aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/abstract_unit.rb
Commit message (Collapse)AuthorAgeFilesLines
* AS tests are now order_independent!Akira Matsuda2014-08-131-5/+0
|
* Nobody sucks so nobody should call this awful method nameRafael Mendonça França2014-08-121-1/+1
|
* users_dont_suck_but_only_we_suck_and_only_our_tests_are_order_dependent!Akira Matsuda2014-08-121-0/+5
| | | | | 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.
* Stop requiring mocha automaticallyRafael Mendonça França2014-07-191-0/+2
| | | | | | | | | | | We are planning to remove mocha from our test suite because of performance problems. To make this possible we should stop require mocha on ActionSupport::TestCase. This should not affect applications since users still need to add mocha to Gemfile and this already load mocha. Added FIXME notes to place that still need mocha removal
* standardize on jruby_skip & rbx_skipGaurish Sharma2014-01-131-1/+1
| | | | | | 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
* Disable available locales checks to avoid warnings running the testsCarlos Antonio da Silva2013-12-171-0/+3
|
* Remove not necessary file, move constants to the file they are usedCarlos Antonio da Silva2013-12-111-1/+0
| | | | | | | | File 'empty_bool.rb' was introduced around 4 years ago in c10958fbddb22052e7cbe5fe6b825cda3cb26e48 to remove method redefined warning in AS test suite, however we do not have such need for reuse anymore, so we can safely move the constants back to the file where they are currently used and get rid of the extra file/require.
* Merge pull request #11932 from gaurish/skip-encoding-convertorRafael Mendonça França2013-08-211-0/+6
|\ | | | | | | | | | | | | [JRuby] Skip few of the ActiveSupport's inflector test cases Conflicts: activesupport/test/abstract_unit.rb
| * Define jruby_skip to skip test on JRubyGaurish Sharma2013-08-211-0/+5
| |
* | Added method to skip tests on Rubinius to AS/abstract_unit.Federico Ravasio2013-08-211-0/+4
|/
* Remove deprecated `String#encoding_aware?` Arun Agrawal2013-07-031-1/+0
| | | core extensions (`core_ext/string/encoding`).
* Set Thread.abort_on_exception for the whole AS, AP, and AR testsAkira Matsuda + Koichi Sasada2013-01-241-0/+2
| | | | this would give us some more clues in case a test silently dies inside Thread
* 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
* skip the memcache tests if the memcache server is not upAaron Patterson2012-08-221-10/+0
|
* Replace deprecated `memcache-client` gem with `dalli` in ↵Guillermo Iguaran2012-08-171-3/+3
| | | | | | ActiveSupport::Cache::MemCacheStore memcache-client was deprecated in favour of dalli in 2010.
* remove duplicate requires of mocha.Aaron Patterson2012-07-031-2/+0
| | | | | Mocha is already required by AS::TestCase, so remove the duplicate requires.
* Remove useless load path modificationsSantiago Pastorino2012-05-111-3/+0
|
* require minitest rather than test/unitAaron Patterson2012-01-061-2/+2
|
* Initial pass at removing dead 1.8.x code from Active Support.José Valim2011-12-201-29/+5
| | | | | | There are a bunch of other implicit branches that adds 1.8.x specific code that still needs to be removed. Pull requests for those cases are welcome.
* Silence warnings for Encoding.default_external= and Encoding.default_internal=Santiago Pastorino2010-08-221-3/+6
|
* Set default_internal and default_external on AS for testing purposesSantiago Pastorino2010-08-221-0/+8
|
* preventing memcached initialization errors with default servers list [#4921 ↵David Calavera2010-06-221-1/+1
| | | | | | | | state:resolved] As of this writing the JRuby client does not support a default port. Signed-off-by: Xavier Noria <fxn@hashref.com>
* defines ORIG_ARGV in Active Support's abstract_unit.rb (used in ↵David Calavera2010-06-221-0/+2
| | | | | | isolation.rb) [#4922 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com>
* fix conditions when DateTime#to_date and DateTime#xmlschema methods are definedRaimonds Simanovskis2010-06-041-1/+1
|
* avoid method redefined; discarding old empty? warning [#4302 state:committed]Santiago Pastorino2010-03-301-0/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix some more warnings on 1.9wycats2010-03-171-2/+9
|
* fix up activesupport test load pathsJoshua Peek2010-02-281-0/+3
|
* Revert "Fix test load paths for those not using bundler"Carlhuda2010-02-231-4/+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/+4
|
* Get rails tests running on bundler 0.9Carl Lerche2010-01-311-9/+1
|
* Autoload AS test caseJoshua Peek2010-01-041-1/+0
|
* Avoid adding component lib/ to load path multiple timesJoshua Peek2009-11-091-1/+2
|
* Always add AS lib/ to path when running its test suiteJoshua Peek2009-11-091-4/+4
|
* Remove automatic rubygems loading from AS test runnerJoshua Peek2009-11-091-9/+1
|
* Have all the tests running off a single GemfileYehuda Katz + Carl Lerche2009-10-201-1/+8
|
* Restore split between require-time and runtime load path mungery. Simplifies ↵Jeremy Kemper2009-09-241-1/+1
| | | | vendor requires.
* For testing, only load rubygems if mocha is missingJoshua Peek2009-09-141-1/+8
|
* Rollback AS bundler work and improve activation of vendored dependenciesJoshua Peek2009-09-131-4/+2
|
* Don't eager require mocha, AS unit needs to set stuff up firstJoshua Peek2009-09-131-1/+1
|
* Detect missing dependencies and automatically run bundlerJoshua Peek2009-09-131-2/+2
|
* Move AS vendor support into bundler.Joshua Peek2009-09-131-1/+3
| | | Run `rake bundle` before running tests.
* Please 1.8.6 CIJoshua Peek2009-09-071-0/+3
|
* 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
* Distinguish missing memcache from missing memcache serverJeremy Kemper2009-03-281-4/+6
|
* Hack in env variable setting for Dependencies.mechanismJeremy Kemper2009-03-261-0/+1
|
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-031-1/+2
|
* Require Mocha >= 0.9.3 which includes a MiniTest adapterJeremy Kemper2008-11-231-1/+1
|
* Require mocha >= 0.9.0 for AS testsJeremy Kemper2008-11-221-4/+0
|
* Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵David Heinemeier Hansson2008-11-221-0/+1
| | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH]