Sha256: bfe6ea6293140dea815495c7c64aca5be8466f0b2f293758fd8dda5b45d4481a
Contents?: true
Size: 362 Bytes
Versions: 7
Compression:
Stored size: 362 Bytes
Contents
require 'rspec' describe 'RSpecEqual' do it 'checks equality' do 1.should equal(1) end end 30.times do |i| describe "RSpecSleep(#{i})" do it "sleeps" do start = Time.now sleep(0.25) (Time.now-start).should be_within(0.02).of(0.25) end end end describe 'RSpecFailure' do it 'fails' do :foo.should eq(:bar) end end
Version data entries
7 entries across 7 versions & 1 rubygems