AgileVentures / MetPlus_tracker

Git Repository for the Waffle issue in MetPlus project
2 stars 4 forks source link

Fix job seeker's address attribute #477

Closed jeanwei closed 7 years ago

jeanwei commented 7 years ago

As a developer I want to fix bug in job seeker's address attribute

jeanwei commented 7 years ago
  1. Establish polymorphic association between JobSeeker and Address model
  2. Edit JobSeeker controller to ensure address field visibility in job seeker's registration form
sigu commented 7 years ago

How can I reproduce this bug in rspec or cucumber, kindly give guidance

jeanwei commented 7 years ago

Currently job seeker's address attribute is not well tested. So test will need to be added.

Part 1: Currently the relationship of JobSeeker and Address is screwed image This is what we are looking for (using company as the example) image

Part 2: image Address field is missing in the form.

Test related to model to be done in '.spec' file. while view related do it in '.feature' file.

sigu commented 7 years ago

Thanks, now looks more doeable :smile: