aboutsummaryrefslogtreecommitdiffstats
path: root/spec/runtime/load_spec.rb
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-01-19 12:34:43 -0800
committerCarl Lerche <carllerche@mac.com>2010-01-19 12:34:43 -0800
commit286212b65c7c370c65a0fe73574f90cb53a5688e (patch)
treea2afd87847afd3b7966dd384b572ab5f7b73ff6e /spec/runtime/load_spec.rb
parent14a92b5c65718231e154fb8f0668ed86872a6e13 (diff)
downloadbundler-286212b65c7c370c65a0fe73574f90cb53a5688e.tar.gz
Do not automatically set the gem sources
Diffstat (limited to 'spec/runtime/load_spec.rb')
-rw-r--r--spec/runtime/load_spec.rb13
1 files changed, 12 insertions, 1 deletions
diff --git a/spec/runtime/load_spec.rb b/spec/runtime/load_spec.rb
index 7077dfe7..c231dff0 100644
--- a/spec/runtime/load_spec.rb
+++ b/spec/runtime/load_spec.rb
@@ -9,6 +9,7 @@ describe "Bubble.load" do
it "provides a list of the env dependencies" do
gemfile <<-G
+ source "file://#{gem_repo1}"
gem "rack"
G
@@ -19,6 +20,7 @@ describe "Bubble.load" do
it "provides a list of the resolved gems" do
pending
gemfile <<-G
+ source "file://#{gem_repo1}"
gem "rack"
G
@@ -40,18 +42,19 @@ describe "Bubble.load" do
describe "when locked" do
before :each do
- pending
system_gems "rack-1.0.0", "activesupport-2.3.2", "activerecord-2.3.2", "activerecord-2.3.1"
end
it "raises an exception if the Gemfile adds a dependency" do
gemfile <<-G
+ source "file://#{gem_repo1}"
gem "rack"
G
bbl :lock
gemfile <<-G
+ source "file://#{gem_repo1}"
gem "rack"
gem "activerecord"
G
@@ -61,6 +64,7 @@ describe "Bubble.load" do
it "raises an exception if the Gemfile removes a dependency" do
gemfile <<-G
+ source "file://#{gem_repo1}"
gem "rack"
gem "activerecord"
G
@@ -68,6 +72,7 @@ describe "Bubble.load" do
bbl :lock
gemfile <<-G
+ source "file://#{gem_repo1}"
gem "rack"
G
@@ -76,6 +81,7 @@ describe "Bubble.load" do
it "raises an exception if the Gemfile changes a dependency in an incompatible way" do
gemfile <<-G
+ source "file://#{gem_repo1}"
gem "rack"
gem "activerecord"
G
@@ -83,6 +89,7 @@ describe "Bubble.load" do
bbl :lock
gemfile <<-G
+ source "file://#{gem_repo1}"
gem "rack"
gem "activerecord", "2.3.1"
G
@@ -92,6 +99,7 @@ describe "Bubble.load" do
it "raises an exception if the Gemfile replaces a root with a child dep of the root" do
gemfile <<-G
+ source "file://#{gem_repo1}"
gem "rack"
gem "activerecord"
G
@@ -99,6 +107,7 @@ describe "Bubble.load" do
bbl :lock
gemfile <<-G
+ source "file://#{gem_repo1}"
gem "rack"
gem "activesupport"
G
@@ -108,6 +117,7 @@ describe "Bubble.load" do
it "works if the Gemfile changes in a compatible way" do
gemfile <<-G
+ source "file://#{gem_repo1}"
gem "rack"
gem "activerecord", "2.3.2"
G
@@ -115,6 +125,7 @@ describe "Bubble.load" do
bbl :lock
gemfile <<-G
+ source "file://#{gem_repo1}"
gem "rack"
gem "activerecord", ">= 2.0.0"
G