summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-07-23 23:15:31 -0700
committerSamuel E. Giddins <segiddins@segiddins.me>2015-07-23 23:15:31 -0700
commit32dddd7fd743768bfa7d1de0910357d1bc98a582 (patch)
tree000259c7954e71384ca7dec1802e1d79c6063179
parentd6d5ecc5abe8b2308d36012ea98670453a92ad8d (diff)
downloadbundler-seg-nonexistant-bundler.tar.gz
Update spec for changes to bundler version matching policyseg-nonexistant-bundler
-rw-r--r--spec/commands/update_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/update_spec.rb b/spec/commands/update_spec.rb
index 6214617edb..42c6cb30c6 100644
--- a/spec/commands/update_spec.rb
+++ b/spec/commands/update_spec.rb
@@ -168,8 +168,8 @@ describe "bundle update when a gem depends on a newer version of bundler" do
it "should explain that bundler conflicted" do
bundle "update"
expect(err).not_to match(/in snapshot/i)
- expect(err).to match(/current Bundler version/i)
- expect(err).to match(/perhaps you need to update bundler/i)
+ expect(out).to include("current bundler version")
+ expect(out).to include("rails (3.0.1) has dependency bundler (= #{Bundler::VERSION.succ})")
end
end