Commit a2c4a2a2 authored by Shinya Maeda's avatar Shinya Maeda

Resolve error on trigger.spec

parent 01cea0d5
FactoryGirl.define do FactoryGirl.define do
factory :ci_trigger_without_token, class: Ci::Trigger do factory :ci_trigger_without_token, class: Ci::Trigger do
factory :ci_trigger do factory :ci_trigger do
token { SecureRandom.hex(15) } token 'token'
factory :ci_trigger_for_trigger_schedule do factory :ci_trigger_for_trigger_schedule do
token { SecureRandom.hex(15) }
owner factory: :user owner factory: :user
project factory: :project project factory: :project
ref 'master' ref 'master'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment