Sha256: 24130536b8402acde58f64da3626db6e1ecc3de527dfc1f2e0ad21de584a5491

Contents?: true

Size: 777 Bytes

Versions: 6

Compression:

Stored size: 777 Bytes

Contents

RSpec.describe Mutant::Reporter::CLI::Printer::Config do
  setup_shared_context

  let(:reportable) { config }

  describe '.call' do
    context 'on default config' do
      it_reports(<<-REPORT)
        Mutant configuration:
        Matcher:         #<Mutant::Matcher::Config empty>
        Integration:     Mutant::Integration::Null
        Jobs:            1
        Includes:        []
        Requires:        []
      REPORT
    end

    context 'with non default coverage expectation' do
      it_reports(<<-REPORT)
        Mutant configuration:
        Matcher:         #<Mutant::Matcher::Config empty>
        Integration:     Mutant::Integration::Null
        Jobs:            1
        Includes:        []
        Requires:        []
      REPORT
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mutant-0.8.16 spec/unit/mutant/reporter/cli/printer/config_spec.rb
mutant-0.8.15 spec/unit/mutant/reporter/cli/printer/config_spec.rb
mutant-0.8.14 spec/unit/mutant/reporter/cli/printer/config_spec.rb
mutant-0.8.13 spec/unit/mutant/reporter/cli/printer/config_spec.rb
mutant-0.8.12 spec/unit/mutant/reporter/cli/printer/config_spec.rb
mutant-0.8.11 spec/unit/mutant/reporter/cli/printer/config_spec.rb