mirror of
https://github.com/Evolix/chexpire.git
synced 2024-05-15 23:18:39 +02:00
6 lines
122 B
Ruby
6 lines
122 B
Ruby
module ChexpireAssertions
|
|
def assert_just_now(expected)
|
|
assert_in_delta expected.to_i, Time.now.to_i, 1.0
|
|
end
|
|
end
|