aboutsummaryrefslogtreecommitdiffstats
path: root/spec/update
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2011-09-01 16:15:44 -0700
committerAndre Arko <andre@arko.net>2011-09-01 16:15:44 -0700
commitbcaa751941b1593731444392de113e852cbb0e26 (patch)
tree7076d5965e0323fbfdeb1bbb3fc5f12ccfd5ff10 /spec/update
parentda27033dc75274724c515f37d33767d7788fabb2 (diff)
downloadbundler-bcaa751941b1593731444392de113e852cbb0e26.tar.gz
stop using nonsensical Gem::Requirement#>
The method is deprecated starting in Rubygems 1.8.10 anyway
Diffstat (limited to 'spec/update')
-rw-r--r--spec/update/gems_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/update/gems_spec.rb b/spec/update/gems_spec.rb
index dcc69602..282e13d8 100644
--- a/spec/update/gems_spec.rb
+++ b/spec/update/gems_spec.rb
@@ -115,7 +115,8 @@ describe "bundle update when a gem depends on a newer version of bundler" do
it "should explain that bundler conflicted" do
bundle "update"
- out.should_not =~ /In snapshot/
- out.should =~ /Current Bundler version/
+ out.should_not =~ /in snapshot/i
+ out.should =~ /current Bundler version/i
+ out.should =~ /perhaps you need to update bundler/i
end
end