aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/quality_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/quality_spec.rb')
-rw-r--r--spec/bundler/quality_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/bundler/quality_spec.rb b/spec/bundler/quality_spec.rb
index 40c0b0366e..09e59d88ae 100644
--- a/spec/bundler/quality_spec.rb
+++ b/spec/bundler/quality_spec.rb
@@ -230,10 +230,9 @@ RSpec.describe "The library itself" do
end
end
- it "ships the correct set of files", :ruby_repo do
+ it "ships the correct set of files" do
Dir.chdir(root) do
- git_list = IO.popen("git ls-files -z", &:read).split("\x0").select {|f| f.match(%r{^(lib|man|exe)/}) }
- git_list += %w[CHANGELOG.md LICENSE.md README.md bundler.gemspec]
+ git_list = shipped_files.split("\x0")
gem_list = Gem::Specification.load(gemspec.to_s).files