rails/activesupport/test/core_ext
Yves Senn 836ea9fb42 TimeWithZone raises NoMethodError in proper context.
Closes #9772.

`TimeWithZone` delegates everything to the wrapped `Time` object
using `method_missing`. The result is that `NoMethodError` error
will be raised in the context of `Time` which leads to a misleading
debug output.
2013-03-18 17:41:34 +01:00
..
class Add instance_accessor option to class_attribute 2012-05-22 00:28:34 +04:00
module Fix some assert_raise calls containing messages in Active Support 2012-10-28 17:54:24 -02:00
object remove unused parameter passed to assert_query_equal method 2013-03-17 15:15:00 +05:30
array_ext_test.rb Use Integer#div instead of Integer#/ to avoid side effects from mathn 2012-11-16 03:20:55 -05:00
bigdecimal_test.rb Moving NumberHelpers from ActionView to ActiveSupport 2012-05-27 18:14:21 -07:00
blank_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
class_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
date_and_time_behavior.rb Date.beginning_of_week thread local and beginning_of_week application config option added (default is Monday) 2012-09-18 17:18:19 +03:00
date_ext_test.rb Standardise the return value of to_time 2013-01-21 12:33:49 +00:00
date_time_ext_test.rb Keep second fraction when DateTime#change is called. 2013-02-25 11:05:49 +01:00
deep_dup_test.rb Keep all methods in object/deep_dup 2012-05-06 11:13:15 -07:00
duplicable_test.rb Remove special cases for duplicable? on Class and Module 2012-05-17 03:00:31 -04:00
duration_test.rb Remove unnecessary begin..rescue..end, use only rescue 2013-01-06 15:41:14 +09:00
enumerable_test.rb Fix Range#sum optimized version 2012-05-25 17:46:53 +04:00
file_test.rb revises a brittle test in Active Support 2012-08-22 23:10:33 +02:00
hash_ext_test.rb CVE-2013-0156: Safe XML params parsing. Doesn't allow symbols or yaml. 2013-01-08 12:42:29 -08:00
integer_ext_test.rb Document Integer#ordinal available in PR #2072. 2012-02-04 18:46:19 +05:30
kernel_test.rb Test Kernel#quietly 2013-01-23 13:29:40 +09:00
load_error_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
marshal_test.rb Fix typo in DependenciesTestHelpers module name 2013-03-12 10:33:32 +05:30
module_test.rb Nice and easy delegation to the class 2012-09-11 23:05:19 -04:00
name_error_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
numeric_ext_test.rb refactor test to drop unnecessary hash creation, test directly instead 2013-03-17 16:21:33 +05:30
object_and_class_ext_test.rb Test try! with a block 2013-01-23 13:29:40 +09:00
proc_test.rb deprecate Proc#bind that can cause symbol memory leak 2012-03-22 22:25:55 +03:00
range_ext_test.rb Test to allow Range including DateTime and DateTime::Infinity 2013-01-14 00:51:43 -02:00
regexp_ext_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
string_ext_test.rb Fixed tests for returning an instance of Time in the local system timezone. 2013-03-10 23:57:11 +02:00
struct_test.rb backporting Struct#to_h from ruby 2.0 2012-11-13 11:11:11 -08:00
thread_test.rb Alias refute methods to assert_not and perfer assert_not on tests 2012-12-31 13:58:52 -03:00
time_ext_test.rb Added beginning_of_minute support to core_ext calculations for Time and DateTime 2013-02-21 16:14:16 -06:00
time_with_zone_test.rb TimeWithZone raises NoMethodError in proper context. 2013-03-18 17:41:34 +01:00
uri_ext_test.rb Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code. 2012-01-19 20:27:16 +09:00