Sha256: edb5e437c063618cf4b2cc1ca089b8890f05dd3200e50880c64c73180e2b52fc
Contents?: true
Size: 459 Bytes
Versions: 20
Compression:
Stored size: 459 Bytes
Contents
Around('~@slow') do |scenario, block| timeout_seconds = 300 begin Timeout.timeout(timeout_seconds) do block.call end rescue Timeout::Error puts "Your test was killed after #{timeout_seconds}" end end Around('@slow') do |scenario, block| timeout_seconds = 1200 begin Timeout.timeout(timeout_seconds) do block.call end rescue Timeout::Error puts "Your slow test was killed after #{timeout_seconds}" end end
Version data entries
20 entries across 20 versions & 1 rubygems