X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c3ad6aa2923c03aeeea0b57033b0a9238d262aa2..119016255ec56bb7e7bc74be19858380e868da93:/test/controllers/issues_controller_test.rb diff --git a/test/controllers/issues_controller_test.rb b/test/controllers/issues_controller_test.rb index 1696df498..9cf68c869 100644 --- a/test/controllers/issues_controller_test.rb +++ b/test/controllers/issues_controller_test.rb @@ -3,6 +3,11 @@ require "test_helper" class IssuesControllerTest < ActionController::TestCase fixtures :users, :user_roles, :issues + teardown do + # cleanup any emails set off by the test + ActionMailer::Base.deliveries.clear + end + def test_view_dashboard_without_auth # Access issues_path without login get :index