Replace git.io URL (#17501)

This commit is contained in:
YOSHIDA Katsuhiko 2022-04-28 22:34:33 +09:00 committed by GitHub
parent 7e62d8098f
commit 89fcd84f9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ jobs:
uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# 📚 https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project

View file

@ -37,7 +37,7 @@ RSpec.describe Podcast, type: :model do
# Couldn't use shoulda uniqueness matchers for these tests because:
# Shoulda uses `save(validate: false)` which skips validations
# So an invalid record is trying to be saved but fails because of the db constraints
# https://git.io/fjg2g
# https://github.com/thoughtbot/shoulda-matchers/blob/9f0def1/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb#L549-L552
it "validates slug uniqueness" do
podcast2 = build(:podcast, slug: podcast.slug)