diff options
author | Nick Thomas <nick@gitlab.com> | 2016-10-17 13:40:02 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2016-10-17 14:44:20 +0100 |
commit | bfb20200e9d1e7edd82a27d18d849ffba043845a (patch) | |
tree | 28f614cb61db165c8ebf1524d981e91755bec17f /.rspec | |
parent | 77507df6030dad9e317e092c70003d4c85d8f889 (diff) | |
download | gitlab-ce-bfb20200e9d1e7edd82a27d18d849ffba043845a.tar.gz |
Add a be_like_time matcher and use it in specs
The amount of precision times have in databases is variable, so we need
tolerances when comparing in specs. It's better to have the tolerance defined
in one place than several.
Diffstat (limited to '.rspec')
0 files changed, 0 insertions, 0 deletions