diff --git a/spec/bundler/quality_spec.rb b/spec/bundler/quality_spec.rb index 669b8f0d35..3e5a960a96 100644 --- a/spec/bundler/quality_spec.rb +++ b/spec/bundler/quality_spec.rb @@ -115,10 +115,8 @@ RSpec.describe "The library itself" do end it "maintains language quality of the documentation" do - included = /ronn/ error_messages = [] man_tracked_files.each do |filename| - next unless filename&.match?(included) error_messages << check_for_expendable_words(filename) error_messages << check_for_specific_pronouns(filename) end diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb index fb0d9d841e..7c2d06abaf 100644 --- a/spec/bundler/support/path.rb +++ b/spec/bundler/support/path.rb @@ -342,7 +342,7 @@ module Spec end def man_tracked_files_glob - "lib/bundler/man/bundle*.1 lib/bundler/man/gemfile*.5" + "lib/bundler/man/bundle*.1.ronn lib/bundler/man/gemfile*.5.ronn" end def ruby_core_tarball?