summaryrefslogtreecommitdiff
path: root/spec/bundler/quality_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-12-11 20:17:51 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-13 12:41:08 +0900
commit6d00053c741cc7a369a1967e0631e32ddf3d1f82 (patch)
treeed6ed895ea16a8a936e10195579052febbc27751 /spec/bundler/quality_spec.rb
parent91050d3443956a2841aa91defee0d178a18fc347 (diff)
[rubygems/rubygems] Use better matcher
Hopefully it gives a better error. https://github.com/rubygems/rubygems/commit/5bc9ff64b6
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6914
Diffstat (limited to 'spec/bundler/quality_spec.rb')
-rw-r--r--spec/bundler/quality_spec.rb2
1 files changed, 1 insertions, 1 deletions
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