Sha256: d2d8d7c8502872d45195c9275eb6a0f045add3b2a34d33d1d86bf005104971eb

Contents?: true

Size: 385 Bytes

Versions: 28

Compression:

Stored size: 385 Bytes

Contents

require 'spec_helper'

describe Stats do

  context 'with good stats' do
    let(:stats) { Stats.new(passed: 6, passed_with_warnings: 3, failed: 1, pending: 0) }
    it { expect(stats.done?).to be false }
  end


  context 'with bad stats' do
    let(:stats) { Stats.new(passed: 1, passed_with_warnings: 0, failed: 4, pending: 5) }
    it { expect(stats.done?).to be false }
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
mumuki-laboratory-5.10.2 spec/models/stats_spec.rb
mumuki-laboratory-5.10.1 spec/models/stats_spec.rb
mumuki-laboratory-5.10.0 spec/models/stats_spec.rb
mumuki-laboratory-5.9.1 spec/models/stats_spec.rb
mumuki-laboratory-5.9.0 spec/models/stats_spec.rb
mumuki-laboratory-5.8.3 spec/models/stats_spec.rb
mumuki-laboratory-5.8.1 spec/models/stats_spec.rb
mumuki-laboratory-5.8.0 spec/models/stats_spec.rb