1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Removed the unused require of proxy_object and test related to it

- Reference : https://github.com/rails/rails/pull/17493#issuecomment-61739359
- Duration stopped inheriting from ProxyObject in https://github.com/rails/rails/pull/16574
This commit is contained in:
Prathamesh Sonpatki 2014-11-05 12:01:06 +05:30
parent bb441843a7
commit e010946052
2 changed files with 0 additions and 2 deletions

View file

@ -1,4 +1,3 @@
require 'active_support/proxy_object'
require 'active_support/core_ext/array/conversions' require 'active_support/core_ext/array/conversions'
require 'active_support/core_ext/object/acts_like' require 'active_support/core_ext/object/acts_like'

View file

@ -30,7 +30,6 @@ class DurationTest < ActiveSupport::TestCase
assert ActiveSupport::Duration === 1.day assert ActiveSupport::Duration === 1.day
assert !(ActiveSupport::Duration === 1.day.to_i) assert !(ActiveSupport::Duration === 1.day.to_i)
assert !(ActiveSupport::Duration === 'foo') assert !(ActiveSupport::Duration === 'foo')
assert !(ActiveSupport::Duration === ActiveSupport::ProxyObject.new)
end end
def test_equals def test_equals