code4romania / consul

Consul - Open Government and E-Participation Web Software
https://consulproject.org
GNU Affero General Public License v3.0
0 stars 4 forks source link

Change user validation #20

Closed tvararu closed 3 years ago

tvararu commented 3 years ago

References

Follow-up to https://github.com/code4romania/consul/pull/19.

Fixes https://github.com/code4romania/consul/issues/18.

Objectives

Split out the checkbox into multiple checks.

Add a basic system spec.

Visual Changes

image

With errors

image

Notes

Running the test:

$ bundle exec rspec spec/system/verification/cnp_validation_spec.rb