X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8f7f02b025f59db466fdb22ea3686cb6c5adc400..50bf0a6379ed8ffb31719a29d63d17f8e72fc07b:/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