taitus
cc49587fe4
Update FailedCensusCall with new fields
2019-07-29 13:10:09 +02:00
taitus
ff5f7ad401
Naming: Ambiguos ‘date_of_birth'
...
Actually we are using 'date_of_birth' as method and as attribute
accessor.
- Refactor 'date_of_birth' method to 'response_date_of_birth’
2019-07-29 13:10:09 +02:00
taitus
dd14fd8649
Add new model presence validates
...
- Only validate :date_of_birth and :postal_code presence when the application
has configured Custom Census and their alias fields has values.
- Only validate :year_of_birth presence when :date_of_birth is not configured
to send to Custom Census
2019-07-29 13:10:09 +02:00
taitus
2ba722a711
Allow to Officing::Residence works with CustomCensusAPI
...
- Allow receive new fields :date_of_birth and :postal_code
- Send new fields to CensusCaller call method to allow use on CustomCensusAPI
2019-07-29 13:10:09 +02:00
Julian Herrero
31ac8b7f55
Change single quotes to double quotes
2019-02-15 11:40:39 +01:00
Bertocq
34bb9d65b1
Enable RSpec/NotToNot cop and fix all issues
...
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/NotToNot
2018-01-07 17:39:48 +01:00
Bertocq
ed16a78f42
Enables RSpec/ExampleWording and fixes all issues
...
Both avoiding 'should' and repiting 'it' on the tests description
improves reading them and also makes all descriptions consistent.
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExampleWording
2018-01-07 01:03:45 +01:00
Bertocq
265d4d0967
Enables RSpec/DescribedClass cop & fixes all issues
...
Autocorrection for existing issues, and stashing at .rubocop_todo.yml
the false positives
Read about cop at http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribedClass
2018-01-07 00:38:19 +01:00
Bertocq
2fa92937d2
Fix all Style/BracesAroundHashParameters rubocop issues and remove them from rubocop_todo list
2017-06-28 14:12:51 +02:00
kikito
a8b653739c
makes officing residence spec verify users
2017-02-14 17:30:22 +01:00
kikito
8ca4cc22b0
Adds specs for creating failed officing census calls
2017-02-12 14:22:46 +01:00
kikito
c473f9856f
makes age errors visible
2017-02-07 16:48:19 +01:00
rgarcia
495a753a5a
cleans up
2017-02-01 11:21:41 +01:00
rgarcia
2bc4649aa7
uses year of birth instead of date of birth
2017-02-01 11:13:59 +01:00
rgarcia
6c34599e1e
adds officer residence check and user voting
2017-01-29 00:36:20 +01:00