summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-04-07 14:03:15 -0700
committerAndre Arko <andre@arko.net>2010-04-08 20:44:16 -0700
commit7e8553e92427da76bd64b75d4c03bb01753402bc (patch)
tree9b472c616722fe50dbe2b7f84547aedda3802540
parent9ef6aa6ead9ed3005b9a7359405f993ba04b03b5 (diff)
downloadbundler-7e8553e92427da76bd64b75d4c03bb01753402bc.tar.gz
Remove outdated pending specs
-rw-r--r--spec/runtime/load_spec.rb95
1 files changed, 0 insertions, 95 deletions
diff --git a/spec/runtime/load_spec.rb b/spec/runtime/load_spec.rb
index 55f1a0c87c..4adf12ce64 100644
--- a/spec/runtime/load_spec.rb
+++ b/spec/runtime/load_spec.rb
@@ -44,101 +44,6 @@ describe "Bundler.load" do
}.should raise_error(Bundler::GemfileNotFound, /omg\.rb/)
end
- 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
-
- bundle :lock
-
- gemfile <<-G
- source "file://#{gem_repo1}"
- gem "rack"
- gem "activerecord"
- G
-
- lambda { Bundler.load }.should raise_error(Bundler::GemfileError)
- end
-
- it "raises an exception if the Gemfile removes a dependency" do
- gemfile <<-G
- source "file://#{gem_repo1}"
- gem "rack"
- gem "activerecord"
- G
-
- bundle :lock
-
- gemfile <<-G
- source "file://#{gem_repo1}"
- gem "rack"
- G
-
- lambda { Bundler.load }.should raise_error(Bundler::GemfileError)
- end
-
- 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
-
- bundle :lock
-
- gemfile <<-G
- source "file://#{gem_repo1}"
- gem "rack"
- gem "activerecord", "2.3.1"
- G
-
- lambda { Bundler.load }.should raise_error(Bundler::GemfileError)
- end
-
- 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
-
- bundle :lock
-
- gemfile <<-G
- source "file://#{gem_repo1}"
- gem "rack"
- gem "activesupport"
- G
-
- lambda { Bundler.load }.should raise_error(Bundler::GemfileError)
- end
-
- 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
-
- bundle :lock
-
- gemfile <<-G
- source "file://#{gem_repo1}"
- gem "rack"
- gem "activerecord", ">= 2.0.0"
- G
-
- lambda { Bundler.load }.should_not raise_error(Bundler::GemfileError)
- end
- end
-
describe "when called twice" do
it "doesn't try to load the runtime twice" do
system_gems "rack-1.0.0", "activesupport-2.3.5"