spec/reek/smells/repeated_conditional_spec.rb in reek-3.3.1 vs spec/reek/smells/repeated_conditional_spec.rb in reek-3.4.0
- old
+ new
@@ -4,10 +4,10 @@
require_relative 'smell_detector_shared'
require_relative '../../../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) { 'dummy_source' }
+ let(:source_name) { 'string' }
it_should_behave_like 'SmellDetector'
context 'with no conditionals' do
it 'gathers an empty hash' do