Sha256: 979bba569107cbc0e127395b0ec5f77a8ec19dbe762b2e9f89ac8e41a32bc5df

Contents?: true

Size: 321 Bytes

Versions: 4

Compression:

Stored size: 321 Bytes

Contents

require 'rspec'

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

describe 'RSpecSleep' do
  it 'sleeps' do
    start = Time.now
    sleep 0.25
    (Time.now-start).should be_within(0.02).of(0.25)
  end
end

describe 'RSpecFailure' do
  it 'fails' do
    :foo.should eq(:bar)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
test-queue-0.1.3 test/sample_spec.rb
test-queue-0.1.2 test/sample_spec.rb
test-queue-0.1.1 test/sample_spec.rb
test-queue-0.1.0 test/sample_spec.rb