diff options
-rw-r--r-- | spec/commands/binstubs_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/binstubs_spec.rb b/spec/commands/binstubs_spec.rb index eb14db4f6f..a80adf6645 100644 --- a/spec/commands/binstubs_spec.rb +++ b/spec/commands/binstubs_spec.rb @@ -87,7 +87,7 @@ RSpec.describe "bundle binstubs <gem>" do context "when BUNDLER_VERSION is set" do it "runs the correct version of bundler" do - sys_exec "BUNDLER_VERSION=999.999.999 #{bundled_app("bin/bundle")} install" + sys_exec "BUNDLER_VERSION='999.999.999' #{bundled_app("bin/bundle")} install" expect(exitstatus).to eq(42) if exitstatus expect(last_command.stderr).to include("Activating bundler (999.999.999) failed:"). and include("To install the version of bundler this project requires, run `gem install bundler -v '999.999.999'`") |