OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/spec/factories/repository_factory.rb

8 lines
233 B

FactoryGirl.define do
factory :repository, :class => Repository::Filesystem do
# Setting.enabled_scm should include "Filesystem" to successfully save the created repository
url 'file:///tmp/test_repo'
project
end
end