diff --git a/test/functional/ip_bans_controller_test.rb b/test/functional/ip_bans_controller_test.rb index 2ac8f3075..e146b2ce6 100644 --- a/test/functional/ip_bans_controller_test.rb +++ b/test/functional/ip_bans_controller_test.rb @@ -32,7 +32,7 @@ class IpBansControllerTest < ActionDispatch::IntegrationTest setup do CurrentUser.user = @admin @subnet_ban = create(:ip_ban, ip_addr: "2.0.0.0/24", creator: @admin) - @other_ban = create(:ip_ban, reason: "malware") + @other_ban = create(:ip_ban, ip_addr: "1.2.3.4", reason: "malware") end should "render access denied for anonymous users" do