summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2010-04-21 17:53:32 -0700
committerAndre Arko <andre@arko.net>2010-04-21 17:53:32 -0700
commit78a6f835d84999d4083461e62f9a30ad0f595869 (patch)
treeaf7aad5792d7f946e03b2240ce8456280750df1d
parentf1a19680452e3003a78b89ecc011a375c68ab258 (diff)
downloadbundler-78a6f835d84999d4083461e62f9a30ad0f595869.tar.gz
Remove tests for backtrace-suppression that is now gone
-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