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