summaryrefslogtreecommitdiff
path: root/spec/commands/clean_spec.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-01-24 12:49:56 -0800
committerAndre Arko <andre@arko.net>2015-01-25 23:30:30 -0800
commita1f1cc6bef69d96b6998f128a84a633595cffa15 (patch)
treebcca97c523023cb2a1599c709280414324bde156 /spec/commands/clean_spec.rb
parent4dc8cf6c778d7aed0c020f1564cf93827e3b0403 (diff)
downloadbundler-a1f1cc6bef69d96b6998f128a84a633595cffa15.tar.gz
Revert "svn source support"
We're pulling out svn source support into a plugin. While we work on that, you can use the 1.8.0.svn release, but subversion sources aren't an official part of Bundler itself. This reverts commit 049d281d0fdcc29297a21c6a66cd7efc38690675. This reverts commit 22fecdd07fdf02edb1a8824fb73dd7e015507644. This reverts commit 38f195e11f37ce5139af4ff3384eb2f26c2edb19. This reverts commit 500436a33de0b884525dbf82cfc69332fc96f8b9. This reverts commit 2c356be90a23921058cd14fd0e4a366da195021a.
Diffstat (limited to 'spec/commands/clean_spec.rb')
-rw-r--r--spec/commands/clean_spec.rb36
1 files changed, 0 insertions, 36 deletions
diff --git a/spec/commands/clean_spec.rb b/spec/commands/clean_spec.rb
index a9f65745d4..529c245912 100644
--- a/spec/commands/clean_spec.rb
+++ b/spec/commands/clean_spec.rb
@@ -145,42 +145,6 @@ describe "bundle clean" do
expect(vendored_gems("cache/bundler/git/foo-1.0-#{digest}")).to exist
end
- it "removes unused svn gems" do
- build_svn "foo", :path => lib_path("foo")
- svn_path = lib_path('foo')
- revision = 1
-
- gemfile <<-G
- source "file://#{gem_repo1}"
-
- gem "rack", "1.0.0"
- svn "file://#{svn_path}", :ref => "#{revision}" do
- gem "foo"
- end
- G
-
- bundle "install --path vendor/bundle"
-
- gemfile <<-G
- source "file://#{gem_repo1}"
-
- gem "rack", "1.0.0"
- G
- bundle "install"
-
- bundle :clean
-
- expect(out).to eq("Removing foo (#{revision})")
-
- expect(vendored_gems("gems/rack-1.0.0")).to exist
- expect(vendored_gems("bundler/gems/foo-#{revision}")).not_to exist
- expect(vendored_gems("cache/bundler/svn/foo-#{revision}")).not_to exist
-
- expect(vendored_gems("specifications/rack-1.0.0.gemspec")).to exist
-
- expect(vendored_gems("bin/rackup")).to exist
- end
-
it "removes unused git gems" do
build_git "foo", :path => lib_path("foo")
git_path = lib_path('foo')