Sha256: cd514cf24bf16cd579c9ee5c91ac94081ccbc47e1bbd6d0b5b4cf3cce1432bb3
Contents?: true
Size: 547 Bytes
Versions: 1
Compression:
Stored size: 547 Bytes
Contents
require_relative '../../spec_helper' require_relative '../../../lib/reek/examiner' require_relative '../../../lib/reek/cli/report/report' require_relative '../../../lib/reek/cli/report/formatter' describe Reek::CLI::Report::YAMLReport do let(:instance) { Reek::CLI::Report::YAMLReport.new } context 'empty source' do let(:examiner) { Reek::Examiner.new('') } before do instance.add_examiner examiner end it 'prints empty yaml' do expect { instance.show }.to output(/^--- \[\]\n.*$/).to_stdout end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reek-2.1.0 | spec/reek/cli/yaml_report_spec.rb |