diff options
Diffstat (limited to 'spec/install/deploy_spec.rb')
| -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 |
