Sha256: 73feae9f9fb17de80d6ad79783470a7d3552e145e5641a6aa65d9c2e4f6ebfef
Contents?: true
Size: 867 Bytes
Versions: 17
Compression:
Stored size: 867 Bytes
Contents
require_relative '../spec_helper' require_lib 'reek/report' RSpec.describe Reek::Report do describe '.report_class' do it 'returns the correct class' do expect(described_class.report_class(:text)).to eq Reek::Report::TextReport end end describe '.location_formatter' do it 'returns the correct class' do expect(described_class.location_formatter(:plain)).to eq Reek::Report::Formatter::BlankLocationFormatter end end describe '.heading_formatter' do it 'returns the correct class' do expect(described_class.heading_formatter(:quiet)).to eq Reek::Report::Formatter::QuietHeadingFormatter end end describe '.warning_formatter_class' do it 'returns the correct class' do expect(described_class.warning_formatter_class(:simple)).to eq Reek::Report::Formatter::SimpleWarningFormatter end end end
Version data entries
17 entries across 17 versions & 1 rubygems