X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/11cc4a5e601dd288d601e6e35a72d159062f18b5..4d47cff5e1d359fa27c5c46d2706faae39a3eacc:/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