You can use the `be_within` matcher.

```ruby
expect(Achievement.pour_time_max.value).to be_within(1.second).of(10.minutes)
```