diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-14 11:37:06 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-14 11:37:06 -0800 |
commit | bc1538e9951847dd4d1d7e37816d91b791862a0c (patch) | |
tree | 7b4e1831f03c353a02c206a205f8786fe721f5ab /activesupport/test | |
parent | 74e1ff9dc2ebd86c783a274710e2f762059e818b (diff) | |
download | rails-bc1538e9951847dd4d1d7e37816d91b791862a0c.tar.gz rails-bc1538e9951847dd4d1d7e37816d91b791862a0c.tar.bz2 rails-bc1538e9951847dd4d1d7e37816d91b791862a0c.zip |
Repair time dependencies
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/range_ext_test.rb | 2 | ||||
-rw-r--r-- | activesupport/test/json/decoding_test.rb | 1 | ||||
-rw-r--r-- | activesupport/test/message_encryptor_test.rb | 1 | ||||
-rw-r--r-- | activesupport/test/message_verifier_test.rb | 2 |
4 files changed, 5 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/range_ext_test.rb b/activesupport/test/core_ext/range_ext_test.rb index 2565c56b8a..5701eeef28 100644 --- a/activesupport/test/core_ext/range_ext_test.rb +++ b/activesupport/test/core_ext/range_ext_test.rb @@ -1,6 +1,6 @@ require 'abstract_unit' +require 'active_support/time' require 'active_support/core_ext/range' -require 'active_support/core_ext/date/conversions' class RangeTest < Test::Unit::TestCase def test_to_s_from_dates diff --git a/activesupport/test/json/decoding_test.rb b/activesupport/test/json/decoding_test.rb index 7b5a4d0416..8fcb16abfb 100644 --- a/activesupport/test/json/decoding_test.rb +++ b/activesupport/test/json/decoding_test.rb @@ -1,6 +1,7 @@ # encoding: UTF-8 require 'abstract_unit' require 'active_support/json' +require 'active_support/time' require 'active_support/core_ext/kernel/reporting' class TestJSONDecoding < ActiveSupport::TestCase diff --git a/activesupport/test/message_encryptor_test.rb b/activesupport/test/message_encryptor_test.rb index ed3461571a..5c2b44f188 100644 --- a/activesupport/test/message_encryptor_test.rb +++ b/activesupport/test/message_encryptor_test.rb @@ -1,4 +1,5 @@ require 'abstract_unit' +require 'active_support/time' class MessageEncryptorTest < Test::Unit::TestCase def setup diff --git a/activesupport/test/message_verifier_test.rb b/activesupport/test/message_verifier_test.rb index ef300e4e26..714a3b3a39 100644 --- a/activesupport/test/message_verifier_test.rb +++ b/activesupport/test/message_verifier_test.rb @@ -7,6 +7,8 @@ rescue LoadError, NameError $stderr.puts "Skipping MessageVerifier test: broken OpenSSL install" else +require 'active_support/time' + class MessageVerifierTest < Test::Unit::TestCase def setup @verifier = ActiveSupport::MessageVerifier.new("Hey, I'm a secret!") |