aboutsummaryrefslogtreecommitdiffstats
path: root/spec/cache
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-06-01 14:16:36 -0700
committerCarl Lerche <carllerche@mac.com>2010-06-01 14:16:36 -0700
commit27c8e606cef18dd88de3998ec0b6c40efd6ee86d (patch)
treedbcfc7a785bed8e11efb18bf717a8aceafdc9787 /spec/cache
parent085465ae33574b43cd9a097937c56d1e3013ff1a (diff)
downloadbundler-27c8e606cef18dd88de3998ec0b6c40efd6ee86d.tar.gz
Add a first spec for cross platform bundle installs
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 09554ff8..abf578d5 100644
--- a/spec/cache/gems_spec.rb
+++ b/spec/cache/gems_spec.rb
@@ -121,7 +121,7 @@ describe "bundle cache" do
it "doesn't remove gems that are for another platform" do
install_gemfile <<-G
- Gem.platforms = [#{java}]
+ Gem.platforms = [Gem::Platform.new('#{java}')]
source "file://#{gem_repo1}"
gem "platform_specific"
G