summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColby Swandale <colby@taplaboratories.com>2018-01-26 13:44:37 +1100
committerColby Swandale <colby@taplaboratories.com>2018-01-26 13:44:37 +1100
commita4b6fcf174c0131042163e5e99bac2f605a06211 (patch)
tree43f0cc3dee9d3d032107731b82c0313218fb56d2
parent7fc622bd308f60c82a0a794d926d3d51b59f2067 (diff)
downloadbundler-colby/fix-exec-failing-test.tar.gz
Fix failing spec in the bundle exec system gem speccolby/fix-exec-failing-test
There was an issue where a spec was failing because it was activating the version of bundler inside of RubyGems and not the development version that we're working on. This would cause the Lockfile to raise an error because we were generating a Bundler 2 lockfile but Bundler 1 was being activated.
-rw-r--r--spec/commands/exec_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/exec_spec.rb b/spec/commands/exec_spec.rb
index 0bda2504de..8a53ff67f0 100644
--- a/spec/commands/exec_spec.rb
+++ b/spec/commands/exec_spec.rb
@@ -786,7 +786,7 @@ __FILE__: #{path.to_s.inspect}
expect(bundle!("exec ruby #{file}", :artifice => nil)).to eq(expected)
# Ignore expectation for default bundler gem conflict.
unless ENV["BUNDLER_SPEC_SUB_VERSION"]
- expect(run!(file.read, :no_lib => true, :artifice => nil)).to eq(expected)
+ expect(run!(file.read, :artifice => nil)).to eq(expected)
end
end