Sha256: e605e3393ed8e7e72093f67322e4322c3b56f940e30797e5e61c4767a6ed5743

Contents?: true

Size: 408 Bytes

Versions: 7

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

RSpec.describe "Changelog" do
  subject(:changelog) do
    path = File.join(File.dirname(__dir__), "CHANGELOG.md")
    File.read(path)
  end

  it 'has definitions for all implicit links' do
    implicit_link_names = changelog.scan(/\[([^\]]+)\]\[\]/).flatten.uniq
    implicit_link_names.each do |name|
      expect(changelog).to include("[#{name}]: https")
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
activeadmin-rails-1.7.1 spec/changelog_spec.rb
activeadmin-rails-1.7.0 spec/changelog_spec.rb
activeadmin-rb-1.6.0 spec/changelog_spec.rb
activeadmin-rb-1.5.2 spec/changelog_spec.rb
activeadmin-rb-1.5.1 spec/changelog_spec.rb
activeadmin-rb-1.5.0 spec/changelog_spec.rb
activeadmin-rb-1.4.0 spec/changelog_spec.rb