spec/reek/smell_warning_spec.rb in reek-1.4.0 vs spec/reek/smell_warning_spec.rb in reek-1.5.0
- old
+ new
@@ -84,12 +84,9 @@
expect(@yaml).to match(/context:\s*#{@context_name}/)
end
it 'includes the message' do
expect(@yaml).to match(/message:\s*#{@message}/)
end
- it 'indicates the masking' do
- expect(@yaml).to match(/is_active:\s*true/)
- end
it 'includes the line numbers' do
@lines.each do |line|
expect(@yaml).to match(/lines:[\s\d-]*- #{line}/)
end
end