commit_statuses.rb 429 Bytes
Newer Older
1 2 3 4 5 6 7
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'
8
    commit factory: :ci_commit_with_one_job
9 10 11 12 13 14 15

    factory :generic_commit_status, class: GenericCommitStatus do
      name 'generic'
      description 'external commit status'
    end
  end
end