test/bson/timestamp_test.rb in mongo-1.8.3.rc0 vs test/bson/timestamp_test.rb in mongo-1.8.3.rc1

- old
+ new

@@ -1,8 +1,13 @@ require 'test_helper' class TimestampTest < Test::Unit::TestCase + def test_timestamp_to_s + t1 = Timestamp.new(5000, 200) + assert_equal "seconds: 5000, increment: 200", t1.to_s + end + def test_timestamp_equality t1 = Timestamp.new(5000, 200) t2 = Timestamp.new(5000, 200) assert_equal t2, t1 end