diff options
author | Stan Hu <stanhu@gmail.com> | 2015-10-06 11:21:45 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-10-06 11:21:45 -0700 |
commit | 9ccd8e2617e9d6e8b5f2ef02e46b5ac8457807aa (patch) | |
tree | 502efdc46a449d95c6a262a8d8cb56930db965d8 /db/fixtures | |
parent | 01fe901e47895df923235b66d7e8ce0f2341ee2b (diff) | |
download | gitlab-ce-9ccd8e2617e9d6e8b5f2ef02e46b5ac8457807aa.tar.gz |
Verify repository is valid
Diffstat (limited to 'db/fixtures')
-rw-r--r-- | db/fixtures/development/04_project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fixtures/development/04_project.rb b/db/fixtures/development/04_project.rb index 973b3f278f9..b4639999967 100644 --- a/db/fixtures/development/04_project.rb +++ b/db/fixtures/development/04_project.rb @@ -79,7 +79,7 @@ Sidekiq::Testing.inline! do # the `after_commit` queue to ensure the job is run now. project.send(:_run_after_commit_queue) - if project.valid? + if project.valid? && project.valid_repo? print '.' else puts project.errors.full_messages |