summaryrefslogtreecommitdiff
path: root/spec/factories/project_snippets.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/project_snippets.rb')
-rw-r--r--spec/factories/project_snippets.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/factories/project_snippets.rb b/spec/factories/project_snippets.rb
index 154442bd3db..d681a2c8483 100644
--- a/spec/factories/project_snippets.rb
+++ b/spec/factories/project_snippets.rb
@@ -1,9 +1,5 @@
FactoryGirl.define do
- factory :project_snippet do
+ factory :project_snippet, parent: :snippet, class: :ProjectSnippet do
project
- author
- title
- content
- file_name
end
end