Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove tests for backtrace-suppression that is now gone

  • Loading branch information...
commit 78a6f835d84999d4083461e62f9a30ad0f595869 1 parent f1a1968
@indirect indirect authored
Showing with 0 additions and 32 deletions.
  1. +0 −32 spec/runtime/setup_spec.rb
View
32 spec/runtime/setup_spec.rb
@@ -137,25 +137,6 @@
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 @@
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
Please sign in to comment.
Something went wrong with that request. Please try again.