summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gemfile/lockfile_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/install/gemfile/lockfile_spec.rb')
-rw-r--r--spec/bundler/install/gemfile/lockfile_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/install/gemfile/lockfile_spec.rb b/spec/bundler/install/gemfile/lockfile_spec.rb
index 42233c4282..313e99d0b8 100644
--- a/spec/bundler/install/gemfile/lockfile_spec.rb
+++ b/spec/bundler/install/gemfile/lockfile_spec.rb
@@ -16,12 +16,12 @@ RSpec.describe "bundle install with a lockfile present" do
context "with plugins disabled" do
before do
- bundle! "config set plugins false"
+ bundle "config set plugins false"
subject
end
it "does not evaluate the gemfile twice" do
- bundle! :install
+ bundle :install
with_env_vars("BUNDLER_SPEC_NO_APPEND" => "1") { expect(the_bundle).to include_gem "rack 1.0.0" }
@@ -34,7 +34,7 @@ RSpec.describe "bundle install with a lockfile present" do
before { FileUtils.rm_rf bundled_app(".bundle") }
it "does not evaluate the gemfile twice" do
- bundle! :install
+ bundle :install
with_env_vars("BUNDLER_SPEC_NO_APPEND" => "1") { expect(the_bundle).to include_gem "rack 1.0.0" }