discourse/spec/jobs/ensure_db_consistency_spec.rb
Sam 3fd3a76422
FIX: we introduced a Jobs::UserEmail which broke consistency checks (#30409)
Fix ensures all classes are rooted and there is a spec that will catch
failures next time
2024-12-22 21:33:47 +11:00

10 lines
191 B
Ruby

# frozen_string_literal: true
RSpec.describe Jobs::EnsureDbConsistency do
subject(:job) { described_class.new }
it "is able to complete with no errors" do
job.execute({})
end
end