mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Clean up the test checks when done
This commit is contained in:
@@ -3,6 +3,10 @@ require 'spec_helper'
|
||||
describe AdminDashboardData do
|
||||
|
||||
describe "adding new checks" do
|
||||
after do
|
||||
AdminDashboardData.reset_problem_checks
|
||||
end
|
||||
|
||||
it 'calls the passed block' do
|
||||
called = false
|
||||
AdminDashboardData.add_problem_check do
|
||||
|
||||
Reference in New Issue
Block a user