Given user is viewing the details of an employee
When user clicks on the Assign to Training Program link
Then a form should be presented in which all eligible* training programs are in a drop down
And a button labeled Assign
Given user is viewing the training program assignment form
And the user has chosen a training program from the dropdown
When user clicks on the Assign button
Then the relationships should be created in the database
And the user should be redirected back to the employee detail view
Acceptance Criteria
Given user is viewing the details of an employee When user clicks on the
Assign to Training Program
link Then a form should be presented in which all eligible* training programs are in a drop down And a button labeledAssign
Given user is viewing the training program assignment form And the user has chosen a training program from the dropdown When user clicks on the
Assign
button Then the relationships should be created in the database And the user should be redirected back to the employee detail view