Sha256: 088db73c7895810cc3e654c0b581f73a41cf803be8ef3f687820d2e1c45d908b

Contents?: true

Size: 366 Bytes

Versions: 3

Compression:

Stored size: 366 Bytes

Contents

# encoding: utf-8

shared_examples_for 'measured itself' do
  it 'should return a MeasurementSet' do
    expect(@measurements).to be_kind_of(Yardstick::MeasurementSet)
  end

  it 'should be non-empty' do
    expect(@measurements).to_not be_empty
  end

  it 'should all be correct' do
    @measurements.each { |measurement| expect(measurement).to be_ok }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yardstick-0.9.9 spec/shared/measured_itself_behavior.rb
yardstick-0.9.8 spec/shared/measured_itself_behavior.rb
yardstick-0.9.7 spec/shared/measured_itself_behavior.rb