spec/reek/smells/repeated_conditional_spec.rb in reek-3.5.0 vs spec/reek/smells/repeated_conditional_spec.rb in reek-3.6.0

- old
+ new

@@ -3,11 +3,10 @@ require_lib 'reek/context/code_context' require_relative 'smell_detector_shared' require_lib 'reek/source/source_code' RSpec.describe Reek::Smells::RepeatedConditional do - let(:detector) { build(:smell_detector, smell_type: :RepeatedConditional, source: source_name) } - let(:source_name) { 'string' } + let(:detector) { build(:smell_detector, smell_type: :RepeatedConditional) } it_should_behave_like 'SmellDetector' context 'with no conditionals' do it 'gathers an empty hash' do