Sha256: cfb86296acb59472a07dda6cf2a9ed12474eddead75b10c6d4b7bb217124e4b7
Contents?: true
Size: 527 Bytes
Versions: 10
Compression:
Stored size: 527 Bytes
Contents
require_relative '../../spec_helper' require_relative '../../../lib/reek/examiner' require_relative '../../../lib/reek/report/report' require_relative '../../../lib/reek/report/formatter' RSpec.describe Reek::Report::JSONReport do let(:instance) { Reek::Report::JSONReport.new } context 'empty source' do let(:examiner) { Reek::Examiner.new('') } before do instance.add_examiner examiner end it 'prints empty json' do expect { instance.show }.to output(/^\[\]$/).to_stdout end end end
Version data entries
10 entries across 10 versions & 1 rubygems