Sha256: cce8aa3e2d752599a0bda497ad24b989347edfb942c3c617fbcf91be91914c92

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

require_relative '../../spec_helper'

require_relative '../../../lib/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

1 entries across 1 versions & 1 rubygems

Version Path
reek-2.1.0 spec/reek/cli/option_interperter_spec.rb