diff --git a/spec/lib/voight_kampff/test_spec.rb b/spec/lib/voight_kampff/test_spec.rb index 8aa18af..e1e9d63 100644 --- a/spec/lib/voight_kampff/test_spec.rb +++ b/spec/lib/voight_kampff/test_spec.rb @@ -30,7 +30,11 @@ before { VoightKampff::Test.new('anything').bot? } it 'is fast' do - expect(Benchmark.realtime { 20.times { VoightKampff::Test.new('anything').bot? } }).to be < 0.002 + expect( + Benchmark.realtime do + 20.times { VoightKampff::Test.new('anything').bot? } + end + ).to be < 0.003 end end end