diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-06 18:08:08 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-06 18:08:08 +0000 |
commit | 83731155d997ae24c7e0cd5ffa6f0dba41bec6dc (patch) | |
tree | 31f785012137fda4ac9a470f4f07c961b42d0299 /spec/factories | |
parent | 57a37ce99f297cddae12cb4d982b6d572f932bb4 (diff) | |
download | gitlab-ce-83731155d997ae24c7e0cd5ffa6f0dba41bec6dc.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/snippets.rb | 2 |
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 |