summaryrefslogtreecommitdiff
path: root/db/fixtures/development/03_project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/fixtures/development/03_project.rb')
-rw-r--r--db/fixtures/development/03_project.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/fixtures/development/03_project.rb b/db/fixtures/development/03_project.rb
index 46018cf68aa..e3e2e9bf0a7 100644
--- a/db/fixtures/development/03_project.rb
+++ b/db/fixtures/development/03_project.rb
@@ -90,14 +90,14 @@ Sidekiq::Testing.inline! do
# since the Sidekiq::Testing block has already exited. Force clearing
# the `after_commit` queue to ensure the job is run now.
project.send(:_run_after_commit_queue)
- project.import_state.send(:_run_after_commit_queue)
+ project.import_state&.send(:_run_after_commit_queue)
end
if project.valid? && project.valid_repo?
print '.'
else
- puts project.errors.full_messages
- print 'F'
+ puts "F (#{project.name})"
+ project.errors.full_messages.each { |m| puts m.red }
end
end