aboutsummaryrefslogtreecommitdiffstats
path: root/spec/install
diff options
context:
space:
mode:
authorqblake <qblake.public@gmail.com>2013-12-06 22:41:45 +0000
committerqblake <qblake.public@gmail.com>2013-12-06 22:41:45 +0000
commitae7363aaaf8ab64a9049e13dd30bb50db29b34a6 (patch)
tree1f54d25c87d60d6c2756565c839cd2c1d42f35df /spec/install
parent952ece75701dd847521cce6b840e481feb22b019 (diff)
downloadbundler-ae7363aaaf8ab64a9049e13dd30bb50db29b34a6.tar.gz
fix error message and test
Diffstat (limited to 'spec/install')
-rw-r--r--spec/install/gemfile/path_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/install/gemfile/path_spec.rb b/spec/install/gemfile/path_spec.rb
index 2e5ca283..bab6fed2 100644
--- a/spec/install/gemfile/path_spec.rb
+++ b/spec/install/gemfile/path_spec.rb
@@ -54,8 +54,8 @@ describe "bundle install with explicit source paths" do
install_gemfile <<-G
gem 'foo', :path => "~#{username}/#{relative_path}"
G
- # TODO improve expect condition
- expect(out).to match("The path `~#{username}/#{relative_path}` is incorrect: user #{username} doesn't exist")
+ expect(out).to match("The path `~#{username}/#{relative_path}` could not be used due to an error")
+ expect(out).to match("user #{username} doesn't exist")
end
it "expands paths relative to Bundler.root" do