Sha256: 7c778289ccbebad6b78ed85e0ad43b5828a274a6ba7e2de6a51cce4345eedb2f
Contents?: true
Size: 557 Bytes
Versions: 19
Compression:
Stored size: 557 Bytes
Contents
require_relative '../../spec_helper' require_lib 'reek/cli/options' require_lib 'reek/cli/option_interpreter' require_lib 'reek/report/report' RSpec.describe Reek::CLI::OptionInterpreter do describe '#reporter' do context 'with a valid set of options' do let(:options) do Reek::CLI::Options.new.parse end subject { described_class.new(options) } it 'returns an object of the correct subclass of Report::Base' do expect(subject.reporter).to be_instance_of Reek::Report::TextReport end end end end
Version data entries
19 entries across 19 versions & 1 rubygems