aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/install/gems/standalone_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-03 20:46:35 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-18 19:14:15 +0900
commit9cc784784979620ea0353c09c778e41146b36d26 (patch)
tree6f9352665ffba790cab0c8c677332a7bcd92ba07 /spec/bundler/install/gems/standalone_spec.rb
parent77df7ccc101432a80c7dd6f525dfc4484f6aa898 (diff)
downloadruby-9cc784784979620ea0353c09c778e41146b36d26.tar.gz
s/sys_exec!/sys_exec
Diffstat (limited to 'spec/bundler/install/gems/standalone_spec.rb')
-rw-r--r--spec/bundler/install/gems/standalone_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/install/gems/standalone_spec.rb b/spec/bundler/install/gems/standalone_spec.rb
index 4b31a2f976..d41cffd74a 100644
--- a/spec/bundler/install/gems/standalone_spec.rb
+++ b/spec/bundler/install/gems/standalone_spec.rb
@@ -290,7 +290,7 @@ RSpec.shared_examples "bundle install --standalone" do
skip "exec format error" if Gem.win_platform?
require "tmpdir"
- sys_exec!(%(#{bundled_app("bin/rails")} -v), :dir => Dir.tmpdir)
+ sys_exec(%(#{bundled_app("bin/rails")} -v), :dir => Dir.tmpdir)
expect(out).to eq("2.3.2")
end
@@ -302,7 +302,7 @@ RSpec.shared_examples "bundle install --standalone" do
symlink = File.join(symlink_dir, "rails")
File.symlink(bundled_app("bin/rails"), symlink)
- sys_exec!("#{symlink} -v")
+ sys_exec("#{symlink} -v")
expect(out).to eq("2.3.2")
end