spec/reek/smell_warning_spec.rb in reek-4.8.2 vs spec/reek/smell_warning_spec.rb in reek-5.0.0
- old
+ new
@@ -133,9 +133,13 @@
it 'includes the source' do
expect(yaml['source']).to eq source
end
+ it 'includes the documentation link' do
+ expect(yaml['documentation_link']).to eq Reek::DocumentationLink.build('FeatureEnvy')
+ end
+
it 'includes the parameters' do
parameters.each do |key, value|
expect(yaml[key]).to eq value
end
end