spec/reek/cli/html_report_spec.rb in reek-2.0.4 vs spec/reek/cli/html_report_spec.rb in reek-2.1.0

- old
+ new

@@ -1,16 +1,13 @@ -require 'spec_helper' -require 'reek/examiner' -require 'reek/cli/report/report' +require_relative '../../spec_helper' +require_relative '../../../lib/reek/examiner' +require_relative '../../../lib/reek/cli/report/report' -include Reek -include Reek::Cli +describe Reek::CLI::Report::HTMLReport do + let(:instance) { Reek::CLI::Report::HTMLReport.new } -describe Report::HtmlReport do - let(:instance) { Report::HtmlReport.new } - context 'with an empty source' do - let(:examiner) { Examiner.new('') } + let(:examiner) { Reek::Examiner.new('') } before do instance.add_examiner examiner end