mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 23:14:10 +08:00

Fix ensures all classes are rooted and there is a spec that will catch failures next time
10 lines
191 B
Ruby
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
|