[Groonga-commit] ranguba/rroonga at c27a995 [master] test: specify TimeZone

Zurück zum Archiv-Index

cosmo0920 null+****@clear*****
Tue Sep 23 03:19:32 JST 2014


cosmo0920	2014-09-23 03:19:32 +0900 (Tue, 23 Sep 2014)

  New Revision: c27a9950b2f93b7202fc98443ed04ce7bbeeef46
  https://github.com/ranguba/rroonga/commit/c27a9950b2f93b7202fc98443ed04ce7bbeeef46

  Message:
    test: specify TimeZone
    
    ```ruby
    ENV["TZ"] = "Japan"
    ```
    
    ref: https://bugs.ruby-lang.org/issues/9652
    ref: http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=45364&view=revision

  Modified files:
    test/test-record.rb

  Modified: test/test-record.rb (+1 -0)
===================================================================
--- test/test-record.rb    2014-09-23 03:14:42 +0900 (ad27caf)
+++ test/test-record.rb    2014-09-23 03:19:32 +0900 (b058186)
@@ -625,6 +625,7 @@ class RecordTest < Test::Unit::TestCase
     end
 
     def test_to_json
+      ENV["TZ"] = "Japan"
       created_at = Time.parse("2013-05-16T16:57:34+09:00")
       values = {
         "uri"        => "http://groonga.org/",
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index