зеркало из
1
0
Форкнуть 0

update test condition for query_tables

This commit is contained in:
Troy Howard 2012-10-18 20:33:01 -07:00
Родитель eec9eeed09
Коммит 4ada1c5fdf
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -31,8 +31,8 @@ describe Azure::Storage::Table::TableService do
result.must_include t
updated = subject.get_table(t)
# this is a weird, but sometimes it's off by a second
assert (result[t] == updated or result[t] == (updated - 1))
# this is a weird, but sometimes it's off by a second or two
assert ((result[t] - updated).abs < 3), "time stamps don't match"
}
end
end