From 570ffe2729d9454770418a5a52eb65873aa93f34 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Tue, 17 Apr 2018 14:48:33 -0500 Subject: [PATCH] Add a link to the latest til --- ruby/mocking-requests-with-partial-uris-using-regex.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ruby/mocking-requests-with-partial-uris-using-regex.md b/ruby/mocking-requests-with-partial-uris-using-regex.md index acf02ae..a8dea1c 100644 --- a/ruby/mocking-requests-with-partial-uris-using-regex.md +++ b/ruby/mocking-requests-with-partial-uris-using-regex.md @@ -15,7 +15,8 @@ change or be configurable. The `stub_request` method allows us to use regex. stub_request(:post, %r|/api/posts|) ``` -Using the `%r` regex literal syntax, we are able to avoid escaping all of -the `/` characters in our URI. +Using [the `%r` regex literal +syntax](https://ruby-doc.org/core-2.2.0/Regexp.html), we are able to avoid +escaping all of the `/` characters in our URI. h/t Brian Dunn