summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChulki Lee <chulki.lee@gmail.com>2015-08-28 10:00:03 -0700
committerSamuel Giddins <segiddins@segiddins.me>2016-02-17 22:58:21 -0600
commit9c5fb35f874f3ad97b149628787387601d685686 (patch)
tree1e605a9f2ce9c62b55a5336b000de5e84ad4aba3 /spec
parent4283169337797eedd81c0f89e705d00e8f00aa0d (diff)
downloadbundler-9c5fb35f874f3ad97b149628787387601d685686.tar.gz
add test for bundle install after package
Diffstat (limited to 'spec')
-rw-r--r--spec/commands/package_spec.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/commands/package_spec.rb b/spec/commands/package_spec.rb
index 5194ab8051..b5282cbb6d 100644
--- a/spec/commands/package_spec.rb
+++ b/spec/commands/package_spec.rb
@@ -86,6 +86,18 @@ describe "bundle package" do
should_not_be_installed "rack 1.0.0", :expect_err => true
expect(bundled_app("vendor/cache/rack-1.0.0.gem")).to exist
end
+
+ it "does not prevent installing gems with bundle install" do
+ gemfile <<-D
+ source "file://#{gem_repo1}"
+ gem 'rack'
+ D
+
+ bundle "package --no-install"
+ bundle "install"
+
+ should_be_installed "rack 1.0.0"
+ end
end
context "with --all-platforms" do