summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Esaulov <billikota@gmail.com>2018-03-15 15:20:20 +0300
committerNikita Esaulov <billikota@gmail.com>2018-03-15 15:20:20 +0300
commit57f35414c8782b52de2f2ae21308ef2655c7b19d (patch)
tree7bfc073a90d94075422e5bd204be8df9205c8651
parentd2b7da148e0461115103b9a1bd0b8d748689d6ff (diff)
downloadbundler-57f35414c8782b52de2f2ae21308ef2655c7b19d.tar.gz
Fix test
-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 0f63d19213..8c194591ec 100644
--- a/spec/commands/exec_spec.rb
+++ b/spec/commands/exec_spec.rb
@@ -610,7 +610,7 @@ RSpec.describe "bundle exec" do
let(:executable) { super() << "\nclass Err < Exception\ndef backtrace; end;\nend\nraise Err" }
let(:exit_code) { 1 }
let(:expected_err) do
- if LessThanProc.with(RUBY_VERSION).call("1.9")
+ if ENV["BUNDLER_SPEC_SUB_VERSION"] == "1.98"
"Err: Err"
else
"bundler: failed to load command: #{path} (#{path})\nErr: Err"