From 6d00053c741cc7a369a1967e0631e32ddf3d1f82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Sun, 11 Dec 2022 20:17:51 +0100 Subject: [rubygems/rubygems] Use better matcher Hopefully it gives a better error. https://github.com/rubygems/rubygems/commit/5bc9ff64b6 --- spec/bundler/quality_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/bundler') diff --git a/spec/bundler/quality_spec.rb b/spec/bundler/quality_spec.rb index 86e5a51f7f..1f4391d0e4 100644 --- a/spec/bundler/quality_spec.rb +++ b/spec/bundler/quality_spec.rb @@ -197,7 +197,7 @@ RSpec.describe "The library itself" do gem_list = loaded_gemspec.files - expect(git_list.sort).to eq(gem_list.sort) + expect(git_list).to match_array(gem_list) end it "does not contain any warnings" do -- cgit v1.2.1