summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-07-05 12:12:29 -0300
committerSamuel Giddins <segiddins@segiddins.me>2016-07-05 15:11:19 -0300
commitf94755cb4b0524c6225b31b133c5c93193f3a523 (patch)
treea5460d733dd2c0e6851b86f9d7d10542765d9dd5
parent6b7cc7242de88184c8d5c40c6e4af546935530d3 (diff)
downloadbundler-seg-1-99-rebase.tar.gz
Fix spec for deprecation of bundle consoleseg-1-99-rebase
-rw-r--r--spec/other/major_deprecation_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/other/major_deprecation_spec.rb b/spec/other/major_deprecation_spec.rb
index 7e11e3a30a..c2d1cdbeb5 100644
--- a/spec/other/major_deprecation_spec.rb
+++ b/spec/other/major_deprecation_spec.rb
@@ -216,9 +216,8 @@ describe "major deprecations" do
it "prints a deprecation warning" do
bundle "console"
- expect(warnings).to have_major_deprecation("bundle console is deprecated and will be replaced " \
- "by `bin/console` generated by `bundle gem <name>` " \
- "in Bundler 2.0.")
+ expect(warnings).to have_major_deprecation \
+ "bundle console will be replaced by `bin/console` generated by `bundle gem <name>`"
end
end
end