Welcome to mirror list, hosted at ThFree Co, Russian Federation.

commit_statuses.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8898b71e2a3724182a4e70d4e237102ad97560f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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'
    commit factory: :ci_commit_with_one_job

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