Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

TimeZone format is always /[+-]\d{2}:\d{2}/ in Ruby 1.9 #6706

Merged
merged 1 commit into from

2 participants

@amatsuda
Collaborator

Removed Ruby < 1.8.6 support in a test case.

@rafaelfranca rafaelfranca merged commit 0d1f98c into rails:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 11, 2012
  1. @amatsuda
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/migration/column_attributes_test.rb
View
2  activerecord/test/cases/migration/column_attributes_test.rb
@@ -174,7 +174,7 @@ def test_native_types
assert_not_equal "Z", bob.moment_of_truth.zone
# US/Eastern is -5 hours from GMT
assert_equal Rational(-5, 24), bob.moment_of_truth.offset
- assert_match(/\A-05:?00\Z/, bob.moment_of_truth.zone) #ruby 1.8.6 uses HH:MM, prior versions use HHMM
+ assert_match(/\A-05:00\Z/, bob.moment_of_truth.zone)
assert_equal DateTime::ITALY, bob.moment_of_truth.start
end
end
Something went wrong with that request. Please try again.