Sha256: 3499243c763f2951f5a691a4816581ed345eeb39fe6c165b60876177b872f80e
Contents?: true
Size: 467 Bytes
Versions: 18
Compression:
Stored size: 467 Bytes
Contents
require_relative '../../spec_helper' require_lib 'reek/examiner' require_lib 'reek/report/report' RSpec.describe Reek::Report::HTMLReport do let(:instance) { Reek::Report::HTMLReport.new } context 'with an empty source' do let(:examiner) { Reek::Examiner.new('') } before do instance.add_examiner examiner end it 'has the text 0 total warnings' do expect { instance.show }.to output(/0 total warnings/).to_stdout end end end
Version data entries
18 entries across 18 versions & 1 rubygems