1 2 3 4 5 6 7
FactoryGirl.define do factory :ci_trigger_without_token, class: Ci::Trigger do factory :ci_trigger do token 'token' end end end