summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/open_spec.rb
diff options
context:
space:
mode:
authorPeter Boling <peter.boling@gmail.com>2023-09-14 11:58:21 +0700
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-10-03 16:13:18 +0900
commit16a97c7bbb5ef04da58e7136830b57707b5fc2ad (patch)
tree7f70ff30bc4c240a19585be46e2a5d4ca6cc4820 /spec/bundler/commands/open_spec.rb
parent0046c67dd8d56960de6579ba05cac622412c6d54 (diff)
[rubygems/rubygems] 🚨 Rubocop Linting
https://github.com/rubygems/rubygems/commit/2851e051c3
Diffstat (limited to 'spec/bundler/commands/open_spec.rb')
-rw-r--r--spec/bundler/commands/open_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/commands/open_spec.rb b/spec/bundler/commands/open_spec.rb
index e30ebfea5b..6ec64dd842 100644
--- a/spec/bundler/commands/open_spec.rb
+++ b/spec/bundler/commands/open_spec.rb
@@ -104,7 +104,7 @@ RSpec.describe "bundle open" do
input.puts "2"
end
- expect(out).to match(%r{bundler_editor #{default_bundle_path('gems', 'activerecord-2.3.2')}/CHANGELOG\.md\z})
+ expect(out).to match(%r{bundler_editor #{default_bundle_path("gems", "activerecord-2.3.2")}/CHANGELOG\.md\z})
end
it "opens deep subpath of the selected matching gem", :readline do
@@ -113,7 +113,7 @@ RSpec.describe "bundle open" do
input.puts "2"
end
- expect(out).to match(%r{bundler_editor #{default_bundle_path('gems', 'activerecord-2.3.2')}/lib/activerecord/version\.rb\z})
+ expect(out).to match(%r{bundler_editor #{default_bundle_path("gems", "activerecord-2.3.2")}/lib/activerecord/version\.rb\z})
end
it "select the gem from many match gems", :readline do
@@ -122,7 +122,7 @@ RSpec.describe "bundle open" do
input.puts "2"
end
- expect(out).to match(/bundler_editor #{default_bundle_path('gems', 'activerecord-2.3.2')}\z/)
+ expect(out).to match(/bundler_editor #{default_bundle_path("gems", "activerecord-2.3.2")}\z/)
end
it "allows selecting exit from many match gems", :readline do