From ae7363aaaf8ab64a9049e13dd30bb50db29b34a6 Mon Sep 17 00:00:00 2001 From: qblake Date: Fri, 6 Dec 2013 22:41:45 +0000 Subject: fix error message and test --- spec/install/gemfile/path_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/install') 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 -- cgit v1.2.3