X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cbea796ef412840af9a3ec2fd26bf08657fc4cd3..9018d1af07c53b03bf8caf0480b931dc25f57147:/test/models/acl_test.rb diff --git a/test/models/acl_test.rb b/test/models/acl_test.rb index ad17fc1b0..49f065612 100644 --- a/test/models/acl_test.rb +++ b/test/models/acl_test.rb @@ -16,8 +16,10 @@ class AclTest < ActiveSupport::TestCase def test_no_account_creation_by_domain assert_not Acl.no_account_creation("192.168.1.1", :domain => "example.com") + assert_not Acl.no_account_creation("192.168.1.1", :domain => "test.example.com") create(:acl, :domain => "example.com", :k => "no_account_creation") assert Acl.no_account_creation("192.168.1.1", :domain => "example.com") + assert Acl.no_account_creation("192.168.1.1", :domain => "test.example.com") end def test_no_account_creation_by_mx