aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Moore <tmoore@incrementalism.net>2014-10-11 17:58:56 +1100
committerTim Moore <tmoore@incrementalism.net>2014-10-11 18:00:10 +1100
commit8e2f2ded68397a7402d4507b713e026504a4df0a (patch)
tree7643b74d3a9b94f38a789d1b4af3bb12047ae45d
parent69bdd1ecce87dd5265076e9fc156539ad42ab6c5 (diff)
downloadbundler-8e2f2ded68397a7402d4507b713e026504a4df0a.tar.gz
Simplify the test case for deployment with source.
-rw-r--r--spec/install/deploy_spec.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/install/deploy_spec.rb b/spec/install/deploy_spec.rb
index 587d3657..25f5c5b5 100644
--- a/spec/install/deploy_spec.rb
+++ b/spec/install/deploy_spec.rb
@@ -80,15 +80,16 @@ describe "install with --deployment or --frozen" do
end
it "works with sources given by a block" do
- install_gemfile(<<-G, :artifice => "endpoint_strict_basic_authentication", :quiet => true)
- source "http://user:pass@localgemserver.test/" do
- gem "rack-obama", ">= 1.0"
+ install_gemfile <<-G
+ source "file://#{gem_repo1}" do
+ gem "rack"
end
G
- bundle "install --deployment", :exitstatus => true, :artifice => "endpoint_strict_basic_authentication"
+ bundle "install --deployment", :exitstatus => true
expect(exitstatus).to eq(0)
+ should_be_installed "rack 1.0"
end
describe "with an existing lockfile" do