minor: another place we need to ignore the ArgumentError
This commit is contained in:
parent
1741ebd80e
commit
c82a7e32af
|
@ -183,8 +183,12 @@ class TestCollection < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_saving_dates_pre_epoch
|
def test_saving_dates_pre_epoch
|
||||||
@@test.save({'date' => Time.utc(1600)})
|
begin
|
||||||
assert_in_delta Time.utc(1600), @@test.find_one()["date"], 0.001
|
@@test.save({'date' => Time.utc(1600)})
|
||||||
|
assert_in_delta Time.utc(1600), @@test.find_one()["date"], 0.001
|
||||||
|
rescue ArgumentError
|
||||||
|
# See note in test_date_before_epoch (BSONTest)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_save_symbol_find_string
|
def test_save_symbol_find_string
|
||||||
|
|
Loading…
Reference in New Issue