Last stage of refactoring of the ability model and spec
This commit is contained in:
parent
762985b83d
commit
6a5cccbaad
22 changed files with 409 additions and 159 deletions
|
|
@ -4,5 +4,13 @@ FactoryGirl.define do
|
|||
factory :commercial do
|
||||
commercial_type 'YouTube'
|
||||
commercial_id 'test'
|
||||
|
||||
factory :conference_commercial do
|
||||
association :commercialable, factory: :conference
|
||||
end
|
||||
|
||||
factory :event_commercial do
|
||||
association :commercialable, factory: :event
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue