mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-22 21:20:57 +08:00
I suspect that by having an integer and not a float sometimes the value
we get is converted to 0.
This is the error we have atm:
```
Failure/Error: measurement = Benchmark.measure { example.run }
expected: 0.75
got: 0.0
(compared using ==)
```
This might not fix it, but it feels right to make this change.
|
||
|---|---|---|
| .. | ||
| automation_spec.rb | ||
| field_spec.rb | ||
| stat_spec.rb | ||
| user_global_notice_spec.rb | ||