[Groonga-commit] ranguba/chupa-text-decomposer-pdf at 07974ff [master] Set TZ to work on Travis CI

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 17 23:57:20 JST 2014


Kouhei Sutou	2014-02-17 23:57:20 +0900 (Mon, 17 Feb 2014)

  New Revision: 07974ff162ca64316dc67c0baa0375a077ad8221
  https://github.com/ranguba/chupa-text-decomposer-pdf/commit/07974ff162ca64316dc67c0baa0375a077ad8221

  Message:
    Set TZ to work on Travis CI

  Modified files:
    test/run-test.rb
    test/test-pdf.rb

  Modified: test/run-test.rb (+2 -0)
===================================================================
--- test/run-test.rb    2014-02-17 23:54:40 +0900 (cc3e3ba)
+++ test/run-test.rb    2014-02-17 23:57:20 +0900 (0080120)
@@ -18,6 +18,8 @@
 
 $VERBOSE = true
 
+ENV["TZ"] = "JST"
+
 require "bundler/setup"
 
 require "test-unit"

  Modified: test/test-pdf.rb (+1 -1)
===================================================================
--- test/test-pdf.rb    2014-02-17 23:54:40 +0900 (c5bb2f9)
+++ test/test-pdf.rb    2014-02-17 23:57:20 +0900 (2ef712d)
@@ -105,7 +105,7 @@ class TestPDF < Test::Unit::TestCase
       end
 
       def test_created_time
-        assert_equal([Time.parse("2014-01-05T06:52:45Z")],
+        assert_equal([Time.parse("2014-01-06T00:52:45+09:00")],
                      decompose("created_time"))
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index