From 18ca920b429be478ebf5c02827d938eca82e5463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 20 Feb 2019 12:10:48 +0100 Subject: More exact match for errors message Just for consistency with the previous spec. --- spec/install/gemfile/git_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/install/gemfile/git_spec.rb b/spec/install/gemfile/git_spec.rb index cd8e0f906e..90ba8a7cfb 100644 --- a/spec/install/gemfile/git_spec.rb +++ b/spec/install/gemfile/git_spec.rb @@ -521,7 +521,7 @@ RSpec.describe "bundle install with git sources" do bundle %(config local.rack #{lib_path("local-rack")}) bundle :install - expect(err).to match(/cannot use local override/i) + expect(err).to match(/Cannot use local override for rack-0.8 at #{Regexp.escape(lib_path('local-rack').to_s)} because :branch is not specified in Gemfile/) end it "does not explode if disable_local_branch_check is given" do -- cgit v1.2.1