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

commits.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ac6eb0a7897440e504d5ca5367a60817b89c904b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require_relative '../support/repo_helpers'

FactoryGirl.define do
  factory :commit do
    git_commit RepoHelpers.sample_commit
    project factory: :empty_project

    initialize_with do
      new(git_commit, project)
    end
  end
end