Verify repository is valid

This commit is contained in:
Stan Hu 2015-10-06 11:21:45 -07:00
parent 01fe901e47
commit 9ccd8e2617

View file

@ -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