summaryrefslogtreecommitdiff
path: root/spec/commands/lock_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/commands/lock_spec.rb')
-rw-r--r--spec/commands/lock_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/lock_spec.rb b/spec/commands/lock_spec.rb
index 11742dede6..83bd233d6d 100644
--- a/spec/commands/lock_spec.rb
+++ b/spec/commands/lock_spec.rb
@@ -86,7 +86,7 @@ RSpec.describe "bundle lock" do
it "does not fetch remote specs when using the --local option" do
bundle "lock --update --local"
- expect(out).to include("sources listed in your Gemfile")
+ expect(out).to match(/sources listed in your Gemfile|installed locally/)
end
it "writes to a custom location using --lockfile" do