summaryrefslogtreecommitdiff
path: root/spec/bundler/bundler_spec.rb
diff options
context:
space:
mode:
authorUrabe, Shyouhei <shyouhei@ruby-lang.org>2017-08-22 19:50:31 +0900
committerUrabe, Shyouhei <shyouhei@ruby-lang.org>2017-08-22 19:50:31 +0900
commit8668a7e3bd2eb857e134cb7be99da39aa96e9c30 (patch)
tree935434404f33db53ff2b694e94ef2d628faae200 /spec/bundler/bundler_spec.rb
parent94e2b6086577efcb10d22bc348d516f693b0f26f (diff)
downloadbundler-8668a7e3bd2eb857e134cb7be99da39aa96e9c30.tar.gz
support ruby < 2.2.0
Diffstat (limited to 'spec/bundler/bundler_spec.rb')
-rw-r--r--spec/bundler/bundler_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/bundler_spec.rb b/spec/bundler/bundler_spec.rb
index ee117adc6e..19e3f0336f 100644
--- a/spec/bundler/bundler_spec.rb
+++ b/spec/bundler/bundler_spec.rb
@@ -117,7 +117,7 @@ RSpec.describe Bundler do
it "should not pollute the TOPLEVEL_BINDING" do
subject
- expect(TOPLEVEL_BINDING.local_variables).to_not include(:must_not_leak)
+ expect(TOPLEVEL_BINDING.eval("local_variables")).to_not include(:must_not_leak)
end
end
end