Sha256: dc10d0fd699df215afafc8092eb0b60a6e2ae4473e08029586aaa679d6617443

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

require 'rspec'

describe 'RSpecEqual' do
  it 'checks equality' do
    1.should equal(1)
  end
end

50.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

1 entries across 1 versions & 1 rubygems

Version Path
test-queue-0.2.0.beta.1 test/sample_spec.rb