Lines Matching refs:repository
2 factory :repository do
6 factory :repository_with_remote do |repository|
7 repository.after(:build) do |repository|
12 path = File.join(Ontohub::Application.config.git_root, 'repository')
26 repository.remote_type ||= 'mirror'
27 repository.source_type = 'git'
28 repository.source_address = path
32 factory :repository_with_empty_remote do |repository|
33 repository.after(:build) do |repository|
34 path = File.join(Ontohub::Application.config.git_root, 'repository')
36 repository.remote_type ||= 'mirror'
37 repository.source_type = 'git'
38 repository.source_address = path
47 factory :private_repository do |repository|
49 repository.after(:build) do |repository|
52 role: 'owner', item: repository