diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-03 20:45:36 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | 1436b5026cd1b2ac4b428955aeadaac8e8b12b1b (patch) | |
tree | 14f9fa8724d3a96b0b221a39d0e1cbd9cd125197 /spec/bundler/commands/binstubs_spec.rb | |
parent | 481840ff18b2d66b20a42240829e06829c34f8f7 (diff) | |
download | ruby-1436b5026cd1b2ac4b428955aeadaac8e8b12b1b.tar.gz |
[rubygems/rubygems] s/bundle!/bundle
https://github.com/rubygems/rubygems/commit/746a4b3d74
Diffstat (limited to 'spec/bundler/commands/binstubs_spec.rb')
-rw-r--r-- | spec/bundler/commands/binstubs_spec.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/bundler/commands/binstubs_spec.rb b/spec/bundler/commands/binstubs_spec.rb index 79f990d127..8fb486744e 100644 --- a/spec/bundler/commands/binstubs_spec.rb +++ b/spec/bundler/commands/binstubs_spec.rb @@ -49,7 +49,7 @@ RSpec.describe "bundle binstubs <gem>" do gem "rails" G - bundle! :binstubs, :all => true + bundle :binstubs, :all => true expect(bundled_app("bin/rails")).to exist expect(bundled_app("bin/rake")).to exist @@ -114,7 +114,7 @@ RSpec.describe "bundle binstubs <gem>" do gem "rack" gem "prints_loaded_gems" G - bundle! "binstubs bundler rack prints_loaded_gems" + bundle "binstubs bundler rack prints_loaded_gems" end let(:system_bundler_version) { Bundler::VERSION } @@ -326,8 +326,8 @@ RSpec.describe "bundle binstubs <gem>" do gem "rails" G - bundle! "binstubs rack", :path => "exec" - bundle! :install + bundle "binstubs rack", :path => "exec" + bundle :install expect(bundled_app("exec/rails")).to exist end @@ -342,18 +342,18 @@ RSpec.describe "bundle binstubs <gem>" do end it "generates a standalone binstub" do - bundle! "binstubs rack --standalone" + bundle "binstubs rack --standalone" expect(bundled_app("bin/rackup")).to exist end it "generates a binstub that does not depend on rubygems or bundler" do - bundle! "binstubs rack --standalone" + bundle "binstubs rack --standalone" expect(File.read(bundled_app("bin/rackup"))).to_not include("Gem.bin_path") end context "when specified --path option" do it "generates a standalone binstub at the given path" do - bundle! "binstubs rack --standalone --path foo" + bundle "binstubs rack --standalone --path foo" expect(bundled_app("foo/rackup")).to exist end end |