OSDN Git Service

[shogi-server] A player, attempting to login with the current live player
[shogi-server/shogi-server.git] / test / TC_league.rb
index b633801..5b4f971 100644 (file)
@@ -40,7 +40,7 @@ class TestPersistent < Test::Unit::TestCase
 
     assert_equal(p.name, "gps_normal")
     assert_in_delta(p.rate, -1752.0, 0.1)
-    assert_equal(p.modified_at.to_s, "2008-05-08 23:50:54 +0900")
+    assert_equal(p.modified_at.ctime, "Thu May  8 23:50:54 2008")
     assert_equal(p.rating_group, 0)
     assert_in_delta(p.win, 3384.04877829976,  0.00001)
     assert_in_delta(p.loss, 906.949084230512, 0.00001)