1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--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
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
blank_test.rb
class_test.rb
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
duplicable_test.rb
duration_test.rb Remove unnecessary begin..rescue..end, use only rescue 2013-01-06 15:41:14 +09:00
enumerable_test.rb
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
kernel_test.rb Test Kernel#quietly 2013-01-23 13:29:40 +09:00
load_error_test.rb
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
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
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
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