Skip to content

Commit

Permalink
Debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed Nov 6, 2023
1 parent 2e201b2 commit 8c169f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/logical/job_stats_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ class JobStatsTest < ActiveSupport::TestCase
[submission1, submission2, submission3].each { |submission| CreateSubmissionFileJob.perform_later(submission, {}) }
[file1, file2, file3, file4, file5].each { |file| E6IqdbQueryJob.perform_later(file) }

puts GoodJob::Job.count # rubocop:disable
puts GoodJob::Job.all.map(&:to_json)

stats = JobStats.new

assert_equal({ url1.id => 1, url2.id => 1 }, stats.scraping_queued)
Expand Down

0 comments on commit 8c169f6

Please sign in to comment.