Sha256: 0bd1856ff431090657884215f68433f0ff302cf59c7cb2c94ef5725859444401
Contents?: true
Size: 494 Bytes
Versions: 16
Compression:
Stored size: 494 Bytes
Contents
describe 'Documentation' do it 'makes sure all Markdown links are valid' do check_stdout = `bundle exec tools/check_md README.md #{Dir.glob('docs/**/*.md').join(' ')}`.split("\n") summary_idx = check_stdout.index { |line| line =~ /^\d+ errors:$/ } expect(summary_idx).not_to eq(nil), "Could not parse check output: #{check_stdout.join("\n")}" expect(check_stdout[summary_idx]).to eq('0 errors:'), "Invalid links found: #{check_stdout[summary_idx..-1].join("\n")}" end end
Version data entries
16 entries across 16 versions & 1 rubygems