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

fixing whitespace errors. 💣

This commit is contained in:
Aaron Patterson 2011-03-25 12:10:11 -07:00
parent 5170d210e8
commit 7333f50abc

View file

@ -120,11 +120,11 @@ class AttributeMethodsTest < ActiveRecord::TestCase
def test_read_attributes_before_type_cast_on_datetime def test_read_attributes_before_type_cast_on_datetime
in_time_zone "Pacific Time (US & Canada)" do in_time_zone "Pacific Time (US & Canada)" do
record = @target.new record = @target.new
record.written_on = "345643456" record.written_on = "345643456"
assert_equal "345643456", record.written_on_before_type_cast assert_equal "345643456", record.written_on_before_type_cast
assert_equal nil, record.written_on assert_equal nil, record.written_on
record.written_on = "2009-10-11 12:13:14" record.written_on = "2009-10-11 12:13:14"
assert_equal "2009-10-11 12:13:14", record.written_on_before_type_cast assert_equal "2009-10-11 12:13:14", record.written_on_before_type_cast
assert_equal Time.zone.parse("2009-10-11 12:13:14"), record.written_on assert_equal Time.zone.parse("2009-10-11 12:13:14"), record.written_on