Last stage of refactoring of the ability model and spec

This commit is contained in:
Henne Vogelsang 2015-04-14 17:33:59 +02:00
parent 762985b83d
commit 6a5cccbaad
22 changed files with 409 additions and 159 deletions

View file

@ -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