diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/blumfump_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/blumfump_spec.rb b/spec/blumfump_spec.rb index 3ab30ba..eeee98a 100644 --- a/spec/blumfump_spec.rb +++ b/spec/blumfump_spec.rb @@ -1,3 +1,9 @@ RSpec.describe Blumfump do specify { expect(Blumfump::VERSION).not_to be_nil } + + it 'should cause sleep to do nothing' do + start_time = Time.now + sleep(10) + expect(Time.now).to be_within(9).of start_time + end end |
