X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cbea796ef412840af9a3ec2fd26bf08657fc4cd3..5df061f558d8973c519e346812185b142efbd9da:/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