Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5a4803c46b
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (32 sloc) 1.018 kb
require 'spec_helper'
describe "real world edgecases", :realworld => true do
# there is no rbx-relative-require gem that will install on 1.9
it "ignores extra gems with bad platforms", :ruby => "1.8" do
install_gemfile <<-G
source :rubygems
gem "linecache", "0.46"
G
err.should eq("")
end
# https://github.com/carlhuda/bundler/issues/1202
it "bundle cache works with rubygems 1.3.7 and pre gems" do
install_gemfile <<-G
source :rubygems
gem "rack", "1.3.0.beta2"
G
bundle :cache
out.should_not include("Removing outdated .gem files from vendor/cache")
end
# https://github.com/carlhuda/bundler/issues/1486
# this is a hash collision that only manifests on 1.8.7
it "finds the correct child versions" do
install_gemfile <<-G
source :rubygems
gem 'i18n', '~> 0.4'
gem 'activesupport', '~> 3.0'
gem 'activerecord', '~> 3.0'
gem 'builder', '~> 2.1.2'
G
out.should include("activemodel (3.0.5)")
end
end
Jump to Line
Something went wrong with that request. Please try again.