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

Version Path
hybrid_platforms_conductor-33.0.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.18.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.17.1 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.17.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.16.4 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.16.3 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.16.2 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.16.1 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.16.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.15.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.14.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.13.4 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.13.3 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.13.2 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.13.1 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-32.13.0 spec/hybrid_platforms_conductor_test/docs_spec.rb