diff options
author | Rémy Coutable <remy@rymai.me> | 2018-10-22 13:37:05 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-11-13 15:24:53 +0300 |
commit | 1f0502df0a2759a9bdde3837bb57c667d3fa3c56 (patch) | |
tree | 678ecb7f392a6a0d865debc4f8e2e5b872fe881b /spec/services/users | |
parent | f2ef5e2ee8ae46d324e4136dbc95ea40d1f21841 (diff) |
Fix a bug where internal email pattern wasn't respected
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/services/users')
-rw-r--r-- | spec/services/users/build_service_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/users/build_service_spec.rb b/spec/services/users/build_service_spec.rb index 051e8c87f39..17bc880dec5 100644 --- a/spec/services/users/build_service_spec.rb +++ b/spec/services/users/build_service_spec.rb @@ -159,9 +159,9 @@ describe Users::BuildService do true | true | 'fl@example.com' | '' | true true | false | 'fl@example.com' | '' | true - true | nil | 'fl@example.com' | '^(?:(?!\.ext@).)*$\r?' | true - true | true | 'fl@example.com' | '^(?:(?!\.ext@).)*$\r?' | true - true | false | 'fl@example.com' | '^(?:(?!\.ext@).)*$\r?' | true + true | nil | 'fl@example.com' | '^(?:(?!\.ext@).)*$\r?' | false + true | true | 'fl@example.com' | '^(?:(?!\.ext@).)*$\r?' | false + true | false | 'fl@example.com' | '^(?:(?!\.ext@).)*$\r?' | false true | nil | 'tester.ext@domain.com' | '^(?:(?!\.ext@).)*$\r?' | true true | true | 'tester.ext@domain.com' | '^(?:(?!\.ext@).)*$\r?' | true |