diff options
author | Mike Burns <mburns@thoughtbot.com> | 2018-01-17 06:45:09 -0500 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-01-17 12:45:09 +0100 |
commit | ea75ae2d1fd987075f600fca66003e2f69cc6cca (patch) | |
tree | c3cd7737fd84d1ce1505a84521bd7d4f29d1dfeb /app/serializers/oembed_serializer.rb | |
parent | acb982fc6677e727980ac71f58e64d35e9576a3b (diff) |
Use be_within instead of eq for a to_f test match (#6275)
Floating point values are notoriously hard to pin down, so use the `be_within` matcher to verify the approximate value.
Diffstat (limited to 'app/serializers/oembed_serializer.rb')
0 files changed, 0 insertions, 0 deletions