From 2cf1f822b5e44308bb9e5af8ee4d75cfda0b4d9e Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 6 Oct 2009 20:12:00 -0700 Subject: times now round trip --- test/visitors/test_yast_builder.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/visitors') diff --git a/test/visitors/test_yast_builder.rb b/test/visitors/test_yast_builder.rb index 2f6e443..8205430 100644 --- a/test/visitors/test_yast_builder.rb +++ b/test/visitors/test_yast_builder.rb @@ -8,6 +8,10 @@ module Psych @v = Visitors::YASTBuilder.new end + def test_time + assert_round_trip Time.now + end + def test_date date = Date.strptime('2002-12-14', '%Y-%m-%d') assert_round_trip date -- cgit v1.2.3