summaryrefslogtreecommitdiff
path: root/spec/commands/clean_spec.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-02-17 22:20:47 -0600
committerSamuel Giddins <segiddins@segiddins.me>2016-02-23 15:42:55 -0600
commit700aabb26dc04587c3d90d26b913bd70cb7c2f63 (patch)
treea6c0076e1bfc8800ca666ab27cbbe23a3f552ad7 /spec/commands/clean_spec.rb
parentcb6e8891c6320210861dfc106b4adb80368def1a (diff)
downloadbundler-700aabb26dc04587c3d90d26b913bd70cb7c2f63.tar.gz
[Path] Set spec installed_by_version so RubyGems will know it has an extensions dir
Diffstat (limited to 'spec/commands/clean_spec.rb')
-rw-r--r--spec/commands/clean_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/commands/clean_spec.rb b/spec/commands/clean_spec.rb
index 95035555d4..37f569b267 100644
--- a/spec/commands/clean_spec.rb
+++ b/spec/commands/clean_spec.rb
@@ -660,9 +660,11 @@ describe "bundle clean" do
gem "very_simple_git_binary", :git => "#{lib_path("very_simple_git_binary-1.0")}", :ref => "#{revision}"
G
- bundle "install --path vendor/bundle"
- bundle :clean
+ bundle! "install --path vendor/bundle"
+ expect(vendored_gems("bundler/gems/extensions")).to exist
+ expect(vendored_gems("bundler/gems/very_simple_git_binary-1.0-#{revision[0..11]}")).to exist
+ bundle! :clean
expect(out).to eq("")
expect(vendored_gems("bundler/gems/extensions")).to exist