Navigation Menu

Skip to content

Commit

Permalink
Add teardown for leap second test
Browse files Browse the repository at this point in the history
Because TZ info is stored last modified value forever.
  • Loading branch information
cosmo0920 committed Jan 31, 2015
1 parent 0df1267 commit c21b0b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test-record.rb
Expand Up @@ -672,5 +672,9 @@ def test_to_json_with_leap_second
}.to_json
assert_equal(expected, groonga.to_json)
end

def teardown
ENV["TZ"] = "Japan"
end
end
end

0 comments on commit c21b0b4

Please sign in to comment.