summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-06 18:08:08 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-06 18:08:08 +0000
commit83731155d997ae24c7e0cd5ffa6f0dba41bec6dc (patch)
tree31f785012137fda4ac9a470f4f07c961b42d0299 /spec/factories
parent57a37ce99f297cddae12cb4d982b6d572f932bb4 (diff)
downloadgitlab-ce-83731155d997ae24c7e0cd5ffa6f0dba41bec6dc.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/snippets.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/snippets.rb b/spec/factories/snippets.rb
index 2cdb8019696..8ab5c7f1fa5 100644
--- a/spec/factories/snippets.rb
+++ b/spec/factories/snippets.rb
@@ -34,7 +34,7 @@ FactoryBot.define do
trait :empty_repo do
after(:create) do |snippet|
- raise "Failed to create repository!" unless snippet.repository.create_if_not_exists
+ raise "Failed to create repository!" unless snippet.create_repository
end
end
end