mirror of https://github.com/rails/rails
Moved over TimeZone test too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
ab8642c9da
commit
85fa238bca
|
@ -1,8 +1,7 @@
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
require File.dirname(__FILE__)+'/../lib/active_record/values/time_zone'
|
require File.dirname(__FILE__)+'/../lib/active_support/values/time_zone'
|
||||||
|
|
||||||
class TimeZoneTest < Test::Unit::TestCase
|
class TimeZoneTest < Test::Unit::TestCase
|
||||||
|
|
||||||
class MockTime
|
class MockTime
|
||||||
def self.now
|
def self.now
|
||||||
Time.utc( 2004, 7, 25, 14, 49, 00 )
|
Time.utc( 2004, 7, 25, 14, 49, 00 )
|
||||||
|
@ -74,5 +73,4 @@ class TimeZoneTest < Test::Unit::TestCase
|
||||||
assert_same a, b
|
assert_same a, b
|
||||||
assert_nil TimeZone.new("bogus")
|
assert_nil TimeZone.new("bogus")
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
Loading…
Reference in New Issue