summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/runtime/setup_spec.rb32
1 files changed, 0 insertions, 32 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index 9dac7dda41..89fac03dfa 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -137,25 +137,6 @@ describe "Bundler.setup" do
end
end
- describe "when cached gems are present" do
- it "raises a friendly error" do
- build_gem "rack", :path => bundled_app("vendor/cache")
-
- gemfile <<-G
- gem "rack"
- G
-
- ruby <<-R, :expect_err => true
- require 'rubygems'
- require 'bundler'
- Bundler.setup
- R
-
- err.should include("rack-1.0 is cached, but not installed")
- err.should include("Try running `bundle install`.")
- end
- end
-
describe "when excluding groups" do
it "doesn't change the resolve if --without is used" do
install_gemfile <<-G, :without => :rails
@@ -239,17 +220,4 @@ describe "Bundler.setup" do
err.should be_empty
end
- it "doesn't throw a backtrace when gems are missing" do
- gemfile <<-G
- source "file://#{gem_repo1}"
- gem "imaginary"
- G
- run <<-R, :expect_err => true
- Bundler.setup
- R
-
- err.should include("Could not find gem 'imaginary")
- err.should include("Try running `bundle install`")
- end
-
end