diff options
Diffstat (limited to 'activerecord/test/base_test.rb')
-rwxr-xr-x | activerecord/test/base_test.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/activerecord/test/base_test.rb b/activerecord/test/base_test.rb index 0b8c08a27e..76f442c71c 100755 --- a/activerecord/test/base_test.rb +++ b/activerecord/test/base_test.rb @@ -238,9 +238,6 @@ class BasicsTest < Test::Unit::TestCase end def test_preserving_time_objects - # Oracle does not have a TIME datatype. - return true if current_adapter?(:OCIAdapter) - assert_kind_of( Time, Topic.find(1).bonus_time, "The bonus_time attribute should be of the Time class" @@ -650,7 +647,7 @@ class BasicsTest < Test::Unit::TestCase end def test_attributes_on_dummy_time - # Oracle and SQL Server does not have a TIME datatype. + # Oracle and SQL Server do not have a TIME datatype. return true if current_adapter?(:SQLServerAdapter) || current_adapter?(:OCIAdapter) attributes = { @@ -1084,4 +1081,4 @@ class BasicsTest < Test::Unit::TestCase expected_readers = model.column_names - (model.serialized_attributes.keys + exceptions + ['id']) assert_equal expected_readers.sort, model.read_methods.keys.sort end -end
\ No newline at end of file +end |