spec/reek/report/yaml_report_spec.rb in reek-4.4.1 vs spec/reek/report/yaml_report_spec.rb in reek-4.4.2
- old
+ new
@@ -6,10 +6,10 @@
require 'yaml'
require 'stringio'
RSpec.describe Reek::Report::YAMLReport do
let(:options) { {} }
- let(:instance) { Reek::Report::YAMLReport.new(options) }
+ let(:instance) { described_class.new(options) }
let(:examiner) { Reek::Examiner.new(source) }
before do
instance.add_examiner examiner
end