Flaky Spec Fix: Ensure Article Titles are Unique (#8689)

This commit is contained in:
Molly Struve 2020-06-15 15:11:41 -05:00 committed by GitHub
parent b93bd56ce3
commit 93443c7e27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ FactoryBot.define do
factory :article do
transient do
title { Faker::Food.dish }
title { generate :title }
published { true }
date { "01/01/2015" }
tags { "javascript, html, css" }