summaryrefslogtreecommitdiff
path: root/spec/cache
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-09-27 22:23:57 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-09-27 22:23:57 -0500
commitcf668f8092be600619fcac5dbcc91072621b0509 (patch)
tree698a980abe526cc3573e592b10000b6de50ef719 /spec/cache
parentc3b69668529ff9bbdd923f89fd0758418998dc37 (diff)
downloadbundler-cf668f8092be600619fcac5dbcc91072621b0509.tar.gz
Add a setting for forcing only the ruby platform
Diffstat (limited to 'spec/cache')
-rw-r--r--spec/cache/gems_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/cache/gems_spec.rb b/spec/cache/gems_spec.rb
index 474233a83c..19dd16e4e9 100644
--- a/spec/cache/gems_spec.rb
+++ b/spec/cache/gems_spec.rb
@@ -238,7 +238,7 @@ describe "bundle cache" do
gem "platform_specific"
G
- expect(cached_gem("platform_specific-1.0-#{Gem::Platform.local}")).to exist
+ expect(cached_gem("platform_specific-1.0-#{Bundler.local_platform}")).to exist
expect(cached_gem("platform_specific-1.0-java")).to exist
end