insignia4u / incorporacion

Super cool app for recruitment.
0 stars 0 forks source link

New Candidate #4

Closed jmax closed 10 years ago

jmax commented 10 years ago

I have an existing user account and I am logged in and I visit '/candidates/new''

when I fill in "first name" with "Steve" and I fill in "last name" with "Rogers" and I fill in "email" with "info@captainamerica.com" and I attach "cv_file" and I click on "Create"

A new Candidate should be created and the candidate should belong to the current company and the current path should be "/candidates"

jmax commented 10 years ago

scenario: "with invalid data"

page should have content "First Name can't be blank" page should have content "Last Name can't be blank" page should have content "Email can't be blank"

jmax commented 10 years ago

Links utiles:

https://github.com/thoughtbot/paperclip http://rubydoc.info/gems/paperclip/Paperclip/Shoulda/Matchers

ezekielriva commented 10 years ago

@jmax What is the way of an unregistered user when he try to create a new candidate?

Could you check my branch? [new-candidate]