Sha256: 5779351e0844ff053968f54e1df4ee7b3f6f011f24f556313cbfcec1ca0468b7

Contents?: true

Size: 492 Bytes

Versions: 29

Compression:

Stored size: 492 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..].join("\n")}"
  end

end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
hybrid_platforms_conductor-33.9.2 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.9.1 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.9.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.8.4 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.8.3 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.8.2 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.8.1 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.8.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.7.4 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.7.3 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.7.2 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.7.1 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.7.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.6.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.5.1 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.5.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.4.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.3.0 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.2.4 spec/hybrid_platforms_conductor_test/docs_spec.rb
hybrid_platforms_conductor-33.2.3 spec/hybrid_platforms_conductor_test/docs_spec.rb