Sha256: 7319a120b61751dfcb0340be4e0a0e69d7fbc39781d06e8b4d1a0d44a1cd58f2
Contents?: true
Size: 657 Bytes
Versions: 18
Compression:
Stored size: 657 Bytes
Contents
# frozen_string_literal: true describe 'list of contributors in README', chdir: false do let(:contributors_in_readme) do File.readlines('README.md').last.chomp("\n").split(', ') end let(:contributors_in_release_notes) do File.read('NEWS.md').scan(/\[[^\]]+\]$/).map { |s| s[1..-2].split(', ') }.flatten end it 'should include everyone mentioned in NEWS.md' do diff = (contributors_in_release_notes - contributors_in_readme).uniq.sort expect(diff).to be_empty, "some contributors are missing from the README: #{diff.join(', ')}" end it 'should be sorted' do expect(contributors_in_readme).to be_humanly_sorted end end
Version data entries
18 entries across 18 versions & 1 rubygems