Permalink
Browse files

Using not effected timezone in tests.

  • Loading branch information...
1 parent 4cee360 commit 23f7dad6c6ff9c784321df924fac78300195b04a @arunagw arunagw committed with tenderlove Jun 28, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 activesupport/test/time_zone_test.rb
@@ -224,9 +224,9 @@ def test_seconds_to_utc_offset_with_negative_offset
end
def test_formatted_offset_positive
- zone = ActiveSupport::TimeZone['Moscow']
- assert_equal "+03:00", zone.formatted_offset
- assert_equal "+0300", zone.formatted_offset(false)
+ zone = ActiveSupport::TimeZone['New Delhi']
+ assert_equal "+05:30", zone.formatted_offset
+ assert_equal "+0530", zone.formatted_offset(false)
end
def test_formatted_offset_negative
@@ -257,7 +257,7 @@ def test_zone_match
end
def test_to_s
- assert_equal "(GMT+03:00) Moscow", ActiveSupport::TimeZone['Moscow'].to_s
+ assert_equal "(GMT+05:30) New Delhi", ActiveSupport::TimeZone['New Delhi'].to_s
end
def test_all_sorted

3 comments on commit 23f7dad

@vijaydev
Member

What does this commit do?

@arunagw
Member

@vijaydev I have added little description here in pull request

#1883

@vijaydev
Member

Should have seen the PR before asking. Thanks :)

Please sign in to comment.