summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2011-09-01 17:14:20 -0700
committerAndre Arko <andre@arko.net>2011-09-01 17:14:20 -0700
commitccfa996466c3595c0486160badd46fb4f4b4ae8e (patch)
tree30197d6122b6340f17828fbd9f1ab3dd0dd5913a /spec
parentf31d4de5b8a7f628e5b23c7e2b63b0c2e3e1f085 (diff)
parent9868a04bbcc0464b009ddf13c835dd58ced7ec47 (diff)
downloadbundler-ccfa996466c3595c0486160badd46fb4f4b4ae8e.tar.gz
Merge fixes for Rubygems 1.8.10.dev from branch '1-0-stable'
Conflicts: .travis.yml lib/bundler.rb lib/bundler/source.rb
Diffstat (limited to 'spec')
-rw-r--r--spec/install/gems/simple_case_spec.rb2
-rw-r--r--spec/update/gems_spec.rb5
2 files changed, 4 insertions, 3 deletions
diff --git a/spec/install/gems/simple_case_spec.rb b/spec/install/gems/simple_case_spec.rb
index 3ae6370f4a..cdf7a0ea50 100644
--- a/spec/install/gems/simple_case_spec.rb
+++ b/spec/install/gems/simple_case_spec.rb
@@ -604,7 +604,7 @@ describe "bundle install with gem sources" do
Current Bundler version:
bundler (#{Bundler::VERSION})
E
- out.should == nice_error
+ out.should include(nice_error)
end
it "works for gems with multiple versions in its dependencies" do
diff --git a/spec/update/gems_spec.rb b/spec/update/gems_spec.rb
index dcc6960203..282e13d8c6 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