Commit 3ffb15065e859e7c83c4d12e18f14566d2d5e85e
1 parent
47ad2ee2
Exists in
colab
and in
2 other branches
Add Kalibro Client GitLab factory
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
spec/factories/repositories.rb
| ... | ... | @@ -36,6 +36,18 @@ FactoryGirl.define do |
| 36 | 36 | kalibro_configuration_id 1 |
| 37 | 37 | end |
| 38 | 38 | |
| 39 | + factory :kalibro_client_gitlab_repository, class: Repository do | |
| 40 | + id 3 | |
| 41 | + name "KalibroClient" | |
| 42 | + description "KalibroClient" | |
| 43 | + license "GPLv3" | |
| 44 | + period 1 | |
| 45 | + scm_type "GIT" | |
| 46 | + address "https://gitlab.com/mezuro/kalibro_client.git" | |
| 47 | + branch 'master' | |
| 48 | + kalibro_configuration_id 1 | |
| 49 | + end | |
| 50 | + | |
| 39 | 51 | factory :another_repository, parent: :repository do |
| 40 | 52 | id 2 |
| 41 | 53 | end | ... | ... |