debian-mirror-gitlab/spec/factories/commit_statuses.rb

16 lines
429 B
Ruby
Raw Normal View History

2015-10-24 18:46:33 +05:30
FactoryGirl.define do
factory :commit_status, class: CommitStatus do
started_at 'Di 29. Okt 09:51:28 CET 2013'
finished_at 'Di 29. Okt 09:53:28 CET 2013'
name 'default'
status 'success'
description 'commit status'
2015-12-23 02:04:40 +05:30
commit factory: :ci_commit_with_one_job
2015-10-24 18:46:33 +05:30
factory :generic_commit_status, class: GenericCommitStatus do
name 'generic'
description 'external commit status'
end
end
end