Yehuda Katz + Carl Lerche
7583a24ee0
Move mocha down below initial T::U require and bump version to 0.9.7 [ #2858 state:resolved]
2009-07-01 11:53:17 -07:00
Yehuda Katz + Carl Lerche
eea7b5db1d
Crazy hacks to get the Isolation testing module to work on non forking environments
2009-06-30 17:39:32 -07:00
Jeremy Kemper
e0f56fc96d
Distinguish missing memcache from missing memcache server
2009-03-28 23:55:43 -07:00
Jeremy Kemper
4b921a5bdf
Hack in env variable setting for Dependencies.mechanism
2009-03-26 19:10:13 -07:00
Jeremy Kemper
278186534c
Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.
2009-02-03 18:40:22 -08:00
Jeremy Kemper
e931012287
Require Mocha >= 0.9.3 which includes a MiniTest adapter
2008-11-23 15:05:59 -08:00
Jeremy Kemper
f927a60d0f
Require mocha >= 0.9.0 for AS tests
2008-11-22 19:19:12 -08:00
David Heinemeier Hansson
f42c77f927
Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH]
2008-11-22 18:06:08 +01:00
Jeremy Kemper
53104c34b1
Require mocha >= 0.9.0 for Active Support tests. Don't manipulate the load path.
2008-11-20 13:47:36 -08:00
Jeremy Kemper
728606df91
Just rescue exception rather than checking for both miniunit and test/unit
2008-11-07 13:00:13 -05:00
Doug Barth
47be090d37
Skip tests that depend on memcached if not running.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2008-10-17 18:09:38 +02:00
Manfred Stienstra
0211722088
Move with_kcode helper to abstract_unit. Add tests for multibyte string extensions.
2008-09-21 17:22:55 +02:00
Manfred Stienstra
22f75d539d
Simplify ActiveSupport::Multibyte and make it run on Ruby 1.9.
...
* Unicode methods are now defined directly on Chars instead of a handler
* Updated Unicode database to Unicode 5.1.0
* Improved documentation
2008-09-21 17:21:30 +02:00
Geoff Buesing
458fd10483
Removing unnecessary uses_tzinfo helper from tests, given that TZInfo is now bundled
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-03-30 23:01:06 +00:00
Geoff Buesing
d4493bc562
Bundling abbreviated version of TZInfo gem 0.3.8: only the classes and zone definitions required to support Rails time zone features are included. If a recent version of the full TZInfo gem is installed, this will take precedence over the bundled version
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-03-30 22:24:35 +00:00
Geoff Buesing
f371f29265
Make TimeWithZone work with tzinfo 0.2.x: use TZInfo::Timezone#zone_identifier alias for #abbreviation, silence warnings on tests. Raise LoadError when TZInfo version is < 0.2 by sniffing for TZInfo::TimeOrDateTime constant. Move all tzinfo-dependent TimeZone tests into uses_tzinfo block
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9071 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-03-21 22:48:00 +00:00
Geoff Buesing
1d4f4cdfe2
Replace non-dst-aware TimeZone class with dst-aware class from tzinfo_timezone plugin. TimeZone#adjust and #unadjust are no longer available; tzinfo gem must now be present in order to perform time zone calculations, via #local_to_utc and #utc_to_local methods.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-01-21 03:55:54 +00:00
Jeremy Kemper
845e6ff45a
String#to_xs uses the fast_xs extension if available for Builder speedup.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-10-07 09:15:26 +00:00
Jeremy Kemper
db9b2f5c22
Extract InflectorTestCases so both inflector and string inflections tests can use them.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-27 10:19:48 +00:00
Jeremy Kemper
ea45680118
Object.subclasses_of includes anonymous subclasses.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-23 01:09:20 +00:00
David Heinemeier Hansson
3f29043f45
Added Array#rand ( closes #9170 ) [norbert]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-15 21:39:04 +00:00
Jeremy Kemper
be54075956
set ActiveSupport::Deprecation.debug = true to see backtraces for deprecation callers. off by default. on for Rails tests.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-04 03:38:13 +00:00
Jeremy Kemper
71234daef1
r4487@asus: jeremy | 2006-04-29 12:21:39 -0700
...
Check whether @flash is defined? for warnings-safety.
r4488@asus: jeremy | 2006-04-29 12:23:15 -0700
Check whether @flash is defined? for warnings-safety. Obviates nil? check.
r4489@asus: jeremy | 2006-04-29 12:45:18 -0700
Check whether @session is defined? for warnings-safety.
r4490@asus: jeremy | 2006-04-29 12:50:41 -0700
Check whether @rendering_runtime is defined? for warnings-safety.
r4491@asus: jeremy | 2006-04-29 12:55:01 -0700
Check whether @_cycles is defined? for warnings-safety.
r4492@asus: jeremy | 2006-04-29 12:59:19 -0700
Check whether instance variables are defined? for warnings-safety.
r4493@asus: jeremy | 2006-04-29 13:14:09 -0700
Add nil @template to PrototypeHelperTest to suppress unitialized instance variable warning.
r4494@asus: jeremy | 2006-04-29 13:31:34 -0700
Check whether @auto_index defined? for warnings-safety.
r4495@asus: jeremy | 2006-04-29 13:32:24 -0700
Wrap content_columns redefinitions with silence_warnings.
r4496@asus: jeremy | 2006-04-29 13:35:28 -0700
Wrap more redefinitions with silence_warnings.
r4829@asus: jeremy | 2006-07-08 10:59:20 -0700
abstract unit, fix warnings
r4830@asus: jeremy | 2006-07-08 11:06:12 -0700
Use parens to silence warning.
r4831@asus: jeremy | 2006-07-08 11:06:48 -0700
Use parens to silence warning.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-08 18:14:49 +00:00