summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gemfile
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-03 20:48:46 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-18 19:14:15 +0900
commitea4824ee0ffcea5fcfacfe40b4f399efe310455a (patch)
tree8f3e5b3049944a718dd7bf356027c7cdc29f0baf /spec/bundler/install/gemfile
parent596588c6978b1bef4a19328a978ff063d05cb6ab (diff)
[rubygems/rubygems] s/run!/run
https://github.com/rubygems/rubygems/commit/e3f60d8aec
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec/bundler/install/gemfile')
-rw-r--r--spec/bundler/install/gemfile/gemspec_spec.rb2
-rw-r--r--spec/bundler/install/gemfile/git_spec.rb22
-rw-r--r--spec/bundler/install/gemfile/groups_spec.rb2
3 files changed, 13 insertions, 13 deletions
diff --git a/spec/bundler/install/gemfile/gemspec_spec.rb b/spec/bundler/install/gemfile/gemspec_spec.rb
index 70b5367e15..8e13ac05a9 100644
--- a/spec/bundler/install/gemfile/gemspec_spec.rb
+++ b/spec/bundler/install/gemfile/gemspec_spec.rb
@@ -255,7 +255,7 @@ RSpec.describe "bundle install from an existing gemspec" do
expect(the_bundle).to include_gems "foo 1.0.0"
- run! "Gem.finish_resolve; puts 'WIN'"
+ run "Gem.finish_resolve; puts 'WIN'"
expect(out).to eq("WIN")
end
diff --git a/spec/bundler/install/gemfile/git_spec.rb b/spec/bundler/install/gemfile/git_spec.rb
index 9b68b424e4..81d234e101 100644
--- a/spec/bundler/install/gemfile/git_spec.rb
+++ b/spec/bundler/install/gemfile/git_spec.rb
@@ -232,7 +232,7 @@ RSpec.describe "bundle install with git sources" do
G
expect(err).to be_empty
- run! <<-RUBY
+ run <<-RUBY
require 'foo'
puts "WIN" if defined?(FOO)
RUBY
@@ -266,7 +266,7 @@ RSpec.describe "bundle install with git sources" do
G
expect(err).to be_empty
- run! <<-RUBY
+ run <<-RUBY
require 'foo'
puts "WIN" if defined?(FOO)
RUBY
@@ -453,7 +453,7 @@ RSpec.describe "bundle install with git sources" do
bundle %(config set local.rack #{lib_path("local-rack")})
bundle :install
- run! "require 'rack'"
+ run "require 'rack'"
expect(out).to eq("LOCAL")
end
@@ -1135,7 +1135,7 @@ RSpec.describe "bundle install with git sources" do
R
expect(out).to eq("YES")
- run! <<-R
+ run <<-R
puts $:.grep(/ext/)
R
expect(out).to include(Pathname.glob(default_bundle_path("bundler/gems/extensions/**/foo-1.0-*")).first.to_s)
@@ -1223,7 +1223,7 @@ In Gemfile:
gem "foo", :git => "#{lib_path("foo-1.0")}"
G
- run! <<-R
+ run <<-R
require 'foo'
puts FOO
R
@@ -1236,7 +1236,7 @@ In Gemfile:
gem "foo", :git => "#{lib_path("foo-1.0")}"
G
- run! <<-R
+ run <<-R
require 'foo'
puts FOO
R
@@ -1265,7 +1265,7 @@ In Gemfile:
gem "foo", :git => "#{lib_path("foo-1.0")}"
G
- run! <<-R
+ run <<-R
require 'foo'
puts FOO
R
@@ -1279,7 +1279,7 @@ In Gemfile:
gem "foo", :git => "#{lib_path("foo-1.0")}"
G
- run! <<-R
+ run <<-R
require 'foo'
puts FOO
R
@@ -1307,7 +1307,7 @@ In Gemfile:
gem "foo", :git => "#{lib_path("foo-1.0")}"
G
- run! <<-R
+ run <<-R
require 'foo'
puts FOO
R
@@ -1323,7 +1323,7 @@ In Gemfile:
gem "foo", :git => "#{lib_path("foo-1.0")}", :branch => "branch2"
G
- run! <<-R
+ run <<-R
require 'foo'
puts FOO
R
@@ -1334,7 +1334,7 @@ In Gemfile:
update_git("foo")
bundle "update foo"
- run! <<-R
+ run <<-R
require 'foo'
puts FOO
R
diff --git a/spec/bundler/install/gemfile/groups_spec.rb b/spec/bundler/install/gemfile/groups_spec.rb
index e4b937fe3a..4e7484ddbd 100644
--- a/spec/bundler/install/gemfile/groups_spec.rb
+++ b/spec/bundler/install/gemfile/groups_spec.rb
@@ -122,7 +122,7 @@ RSpec.describe "bundle install with groups" do
it "allows Bundler.setup for specific groups" do
bundle "config --local without emo"
bundle :install
- run!("require 'rack'; puts RACK", :default)
+ run("require 'rack'; puts RACK", :default)
expect(out).to eq("1.0.0")
end