Angus McLeod
c150c83578
Fix required fields with blank string values
2022-11-02 15:53:17 +01:00
Angus McLeod
04f0d34ef3
Fix specs
2022-03-25 17:08:24 +01:00
Angus McLeod
69fd3d451d
merge main
2022-03-12 15:08:56 +01:00
Angus McLeod
46c86cda58
Move to new coverage approach
2022-03-12 14:00:07 +01:00
angusmcleod
23c4b45195
Add pro feature specs
2021-09-07 20:06:13 +08:00
Faizaan Gagan
998757f857
FIX: apply text length validations for non-empty fields only ( #137 )
...
* apply text length validations for non-empty fields only
* consolidated logic
* fixed formatting
* fix formatting
* calculate length only for string type values
* fix assignment
* added specs
2021-07-30 16:03:48 +05:30
Angus McLeod
f80f40d6b3
Apply consistent date validation on the server (using v8) ( #124 )
...
* Apply consistent date validation on the server (using v8)
* Variable fix
* added specs to verify date/time field validation
* minor text change
Co-authored-by: Faizaan Gagan <fzngagan@gmail.com>
2021-06-26 13:15:33 +05:30
Angus McLeod
4edb40e526
Apply rubcop and get tests pass ( #76 )
2021-03-11 12:00:15 +05:30
angusmcleod
5794349244
Ensure url field validates properly and accepts empty inputs
2021-02-20 17:59:41 +11:00
Faizaan Gagan
efaa0c5915
FIX: broke down the max length test into different cases
2020-12-14 12:16:32 +05:30
Faizaan Gagan
e12faad1f5
added positive test for max length check
2020-12-08 13:29:36 +05:30
Faizaan Gagan
4f7d18d193
FEATURE: added max length setting for text type fields
2020-12-08 12:44:37 +05:30
Angus McLeod
f6f77547d7
Use explicit file loading for tests coverage
2020-12-01 08:20:10 +11:00
Angus McLeod
f31054f75d
Isolate and specify template and update validation
2020-11-26 14:05:50 +11:00