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-7.1.0 vendor/bundle/ruby/2.3.0/bundler/gems/mumuki-domain-925adf85cca8/spec/models/stats_spec.rb
mumuki-laboratory-7.0.12 vendor/bundle/ruby/2.3.0/bundler/gems/mumuki-domain-74da3d4af98c/spec/models/stats_spec.rb
mumuki-laboratory-7.0.11 vendor/bundle/ruby/2.3.0/bundler/gems/mumuki-domain-f892f79c60f0/spec/models/stats_spec.rb
mumuki-laboratory-6.1.5 spec/models/stats_spec.rb
mumuki-laboratory-6.0.4 spec/models/stats_spec.rb
mumuki-laboratory-6.1.4 spec/models/stats_spec.rb
mumuki-laboratory-6.1.3 spec/models/stats_spec.rb
mumuki-laboratory-6.0.3 spec/models/stats_spec.rb
mumuki-laboratory-6.1.2 spec/models/stats_spec.rb
mumuki-laboratory-6.1.1 spec/models/stats_spec.rb
mumuki-laboratory-6.1.0 spec/models/stats_spec.rb
mumuki-laboratory-6.0.2 spec/models/stats_spec.rb
mumuki-laboratory-6.0.1 spec/models/stats_spec.rb
mumuki-laboratory-6.0.0 spec/models/stats_spec.rb
mumuki-laboratory-5.13.0 spec/models/stats_spec.rb
mumuki-laboratory-5.12.1 spec/models/stats_spec.rb
mumuki-laboratory-5.12.0 spec/models/stats_spec.rb
mumuki-laboratory-5.11.0 spec/models/stats_spec.rb
mumuki-laboratory-5.10.4 spec/models/stats_spec.rb
mumuki-laboratory-5.10.3 spec/models/stats_spec.rb