From 6e4e1050d9dba2b7b2523fdd1768823ab85feef4 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 20 Aug 2020 18:42:06 +0000 Subject: Add latest changes from gitlab-org/gitlab@13-3-stable-ee --- spec/factories/wiki_pages.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec/factories/wiki_pages.rb') diff --git a/spec/factories/wiki_pages.rb b/spec/factories/wiki_pages.rb index e7fcc19bbfe..cc866d336a4 100644 --- a/spec/factories/wiki_pages.rb +++ b/spec/factories/wiki_pages.rb @@ -31,7 +31,8 @@ FactoryBot.define do end to_create do |page, evaluator| - page.create(message: evaluator.message) + # WikiPages is ActiveModel which doesn't support `create!`. + page.create(message: evaluator.message) # rubocop:disable Rails/SaveBang end end -- cgit v1.2.1