summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Burkhart & Josh Lane <jburkhart@engineyard.com>2011-09-22 16:55:26 -0700
committerJacob Burkhart & Josh Lane <jburkhart@engineyard.com>2011-09-22 16:55:26 -0700
commitd1ce70c90fc1eaf69b47ea47b574ce05c87d0c4a (patch)
tree0b7703986695a1acbfe0c7a5da6249205e1cf84c
parent1e7bb2e409d13329bd8ccea990accc624d487389 (diff)
downloadbundler-d1ce70c90fc1eaf69b47ea47b574ce05c87d0c4a.tar.gz
Make tests green again (result of small changes to output format)
-rw-r--r--spec/install/gems/flex_spec.rb4
-rw-r--r--spec/install/gems/simple_case_spec.rb12
-rw-r--r--spec/install/git_spec.rb2
-rw-r--r--spec/runtime/setup_spec.rb2
4 files changed, 10 insertions, 10 deletions
diff --git a/spec/install/gems/flex_spec.rb b/spec/install/gems/flex_spec.rb
index c48b7b6302..8fad4ba565 100644
--- a/spec/install/gems/flex_spec.rb
+++ b/spec/install/gems/flex_spec.rb
@@ -199,8 +199,8 @@ describe "bundle flex_install" do
rack (0.9.1)
In Gemfile:
- rack-obama (= 2.0) depends on
- rack (= 1.2)
+ rack-obama (= 2.0) ruby depends on
+ rack (= 1.2) ruby
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
diff --git a/spec/install/gems/simple_case_spec.rb b/spec/install/gems/simple_case_spec.rb
index 7838623321..fa7ec5adbf 100644
--- a/spec/install/gems/simple_case_spec.rb
+++ b/spec/install/gems/simple_case_spec.rb
@@ -636,7 +636,7 @@ describe "bundle install with gem sources" do
Fetching source index for file:#{gem_repo2}/
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
- bundler (= 0.9.2)
+ bundler (= 0.9.2) ruby
Current Bundler version:
bundler (#{Bundler::VERSION})
@@ -693,10 +693,10 @@ describe "bundle install with gem sources" do
Fetching source index for file:#{gem_repo2}/
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
- activemerchant depends on
- activesupport (>= 2.0.0)
+ activemerchant (>= 0) ruby depends on
+ activesupport (>= 2.0.0) ruby
- rails_fail depends on
+ rails_fail (>= 0) ruby depends on
activesupport (1.2.3)
E
out.should == nice_error
@@ -713,8 +713,8 @@ describe "bundle install with gem sources" do
Fetching source index for file:#{gem_repo2}/
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
- rails_fail depends on
- activesupport (= 1.2.3)
+ rails_fail (>= 0) ruby depends on
+ activesupport (= 1.2.3) ruby
activesupport (2.3.5)
E
diff --git a/spec/install/git_spec.rb b/spec/install/git_spec.rb
index da2e886e78..790f467222 100644
--- a/spec/install/git_spec.rb
+++ b/spec/install/git_spec.rb
@@ -403,7 +403,7 @@ describe "bundle install with git sources" do
gem "has_submodule"
end
G
- out.should =~ /could not find gem 'submodule'/i
+ out.should =~ /[Cc]ould not find gem 'submodule/i
should_not_be_installed "has_submodule 1.0", :expect_err => true
end
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index 34a2c5df13..63c820ddea 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -450,7 +450,7 @@ describe "Bundler.setup" do
end
R
- out.should == "You have already activated thin 1.1, but your Gemfile requires thin 1.0. Consider using bundle exec."
+ out.should == "You have already activated thin 1.1, but your Gemfile requires thin 1.0. Using bundle exec may solve this."
end
it "version_requirement is now deprecated in rubygems 1.4.0+" do