Sha256: 8008caa169dac655835909af5cd4254d79a7a138893addb222cf27e005ea88f3
Contents?: true
Size: 834 Bytes
Versions: 20
Compression:
Stored size: 834 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::BlankLocationFormatter end end describe '.heading_formatter' do it 'returns the correct class' do expect(described_class.heading_formatter(:quiet)).to eq Reek::Report::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::SimpleWarningFormatter end end end
Version data entries
20 entries across 18 versions & 2 rubygems