summaryrefslogtreecommitdiff
path: root/spec/install/deploy_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install/deploy_spec.rb')
-rw-r--r--spec/install/deploy_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/install/deploy_spec.rb b/spec/install/deploy_spec.rb
index 6ad43b7e70..8be2b67506 100644
--- a/spec/install/deploy_spec.rb
+++ b/spec/install/deploy_spec.rb
@@ -18,6 +18,13 @@ describe "install with --deployment or --frozen" do
out.should include("The --frozen flag requires a Gemfile.lock")
end
+ it "works after you try to deploy without a lock", :focus => true do
+ bundle "install --deployment"
+ bundle :install, :exit_status => true
+ exitstatus.should == 0
+ should_be_installed "rack 1.0"
+ end
+
it "still works if you are not in the app directory and specify --gemfile" do
bundle "install"
Dir.chdir tmp