diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-04-13 20:44:44 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-04-13 21:11:30 -0500 |
commit | f145aa11a5b47b438263aace8bd45dd2d752411c (patch) | |
tree | 4dc5eeac72197c9dc168a9ff99da9d4534e9b56f /spec | |
parent | d9bcd5df7d8253be3722d1edacab15578dc3ddcf (diff) | |
download | bundler-f145aa11a5b47b438263aace8bd45dd2d752411c.tar.gz |
Stop allowing -rbundler/setup to silently ignore added specs in deployment modeseg-deadlocking-is-bad
Diffstat (limited to 'spec')
-rw-r--r-- | spec/install/deploy_spec.rb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/spec/install/deploy_spec.rb b/spec/install/deploy_spec.rb index 4a4f6e912f..bcbd57bc4f 100644 --- a/spec/install/deploy_spec.rb +++ b/spec/install/deploy_spec.rb @@ -258,7 +258,17 @@ RSpec.describe "install with --deployment or --frozen" do gem "rack-obama" G - expect(the_bundle).to include_gems "rack 1.0.0" + expect(the_bundle).not_to include_gems "rack 1.0.0" + expect(err).to include strip_whitespace(<<-E).strip +The dependencies in your gemfile changed + +You have added to the Gemfile: +* rack (= 1.0.0) +* rack-obama + +You have deleted from the Gemfile: +* rack + E end end |