Skip to content

Commit e446f1a

Browse files
committed
[Appveyor] Final coerce tests for Windows.
1 parent 2f90025 commit e446f1a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

test/cases/coerced_tests.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
require 'cases/helper_sqlserver'
22

33

4+
# Windows/Appveyor
5+
if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
6+
# All of these are due to Time.local(2000).zone. See http://git.io/v3t0o
7+
class BelongsToAssociationsTest < ActiveRecord::TestCase
8+
coerce_tests! :test_belongs_to_with_touch_option_on_touch_without_updated_at_attributes
9+
end
10+
class BasicsTest < ActiveRecord::TestCase
11+
coerce_tests! :test_preserving_time_objects_with_local_time_conversion_to_default_timezone_utc
12+
coerce_tests! :test_preserving_time_objects_with_time_with_zone_conversion_to_default_timezone_local
13+
coerce_tests! :test_preserving_time_objects_with_utc_time_conversion_to_default_timezone_local
14+
end
15+
class DirtyTest < ActiveRecord::TestCase
16+
coerce_tests! :test_save_always_should_update_timestamps_when_serialized_attributes_are_present
17+
end
18+
end
19+
20+
421
module ActiveRecord
522
class AdapterTest < ActiveRecord::TestCase
623

0 commit comments

Comments
 (0)