X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d3b2b47964ec91ef1ab1946b7258a06665caced..00108bc9b7e9e03a47d89343e7f53eb924977ff8:/test/controllers/follows_controller_test.rb diff --git a/test/controllers/follows_controller_test.rb b/test/controllers/follows_controller_test.rb index 93bb3bc3e..33712031f 100644 --- a/test/controllers/follows_controller_test.rb +++ b/test/controllers/follows_controller_test.rb @@ -56,7 +56,6 @@ class FollowsControllerTest < ActionDispatch::IntegrationTest email = ActionMailer::Base.deliveries.first assert_equal 1, email.to.count assert_equal follow.email, email.to.first - ActionMailer::Base.deliveries.clear # A second POST should report that the follow already exists assert_no_difference "ActionMailer::Base.deliveries.size" do @@ -97,7 +96,6 @@ class FollowsControllerTest < ActionDispatch::IntegrationTest email = ActionMailer::Base.deliveries.first assert_equal 1, email.to.count assert_equal follow.email, email.to.first - ActionMailer::Base.deliveries.clear end def test_follow_unknown_user