Skip to content
Snippets Groups Projects
Commit e1e924ba authored by Giovanne Marcelo's avatar Giovanne Marcelo
Browse files

Add likeable alias in learning object

parent bc8b409e
No related branches found
No related tags found
No related merge requests found
FactoryGirl.define do
factory :learning_object, aliases: [:complainable, :reviewable] do
factory :learning_object, aliases: [:complainable, :reviewable, :likeable] do
sequence(:name) { |i| "LearningObject #{i}" }
sequence(:id_dspace) { |i| i }
publisher
......@@ -9,7 +9,6 @@ FactoryGirl.define do
language { Language.all.sample }
author { Faker::Name.name }
state LearningObject.states[:published]
transient do
tags_count 5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment