Sha256: 80beb51465d49e947fafd055f3c4fb529c8d2feeaaa370f720923d865de752b4

Contents?: true

Size: 376 Bytes

Versions: 5

Compression:

Stored size: 376 Bytes

Contents

require 'spec_helper'

require 'reek/cli/options'

describe Reek::Cli::OptionInterpreter do
  let(:options) { OpenStruct.new }
  let(:instance) { Reek::Cli::OptionInterpreter.new(options) }

  describe '#reporter' do
    it 'returns a Report::TextReport instance by default' do
      expect(instance.reporter).to be_instance_of Reek::Cli::Report::TextReport
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
reek-2.0.4 spec/reek/cli/option_interperter_spec.rb
reek-2.0.3 spec/reek/cli/option_interperter_spec.rb
reek-2.0.2 spec/reek/cli/option_interperter_spec.rb
reek-2.0.1 spec/reek/cli/option_interperter_spec.rb
reek-2.0.0 spec/reek/cli/option_interperter_spec.rb