X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/82ac68a26e5faa200952929ae33fb47aab98003b..119016255ec56bb7e7bc74be19858380e868da93:/test/controllers/issues_controller_test.rb?ds=sidebyside 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