Sha256: 860c6a6948a35ff0874ed6580138a8f97ff363b6aa6f4ca1736c712017e5b614
Contents?: true
Size: 778 Bytes
Versions: 21
Compression:
Stored size: 778 Bytes
Contents
require_relative '../spec_helper' RSpec.describe Reek::DocumentationLink do describe '.build' do it 'returns the correct link for a smell type' do expect(described_class.build('FeatureEnvy')). to eq "https://github.com/troessner/reek/blob/v#{Reek::Version::STRING}/docs/Feature-Envy.md" end it 'returns the correct link for general documentation' do expect(described_class.build('Rake Task')). to eq "https://github.com/troessner/reek/blob/v#{Reek::Version::STRING}/docs/Rake-Task.md" end it 'returns the correct link for subjects with abbreviations' do expect(described_class.build('YAML Report')). to eq "https://github.com/troessner/reek/blob/v#{Reek::Version::STRING}/docs/YAML-Report.md" end end end
Version data entries
21 entries across 19 versions & 2 rubygems