X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/16c3c533022d90cbfafecd17349d09fcbb7abed9..0eb2afa83aee217fc2c6399bd23d0d8152c09eb5:/test/models/acl_test.rb?ds=sidebyside 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