aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-06-28 16:31:14 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-06-28 16:31:14 +0200
commitc2e2632815545d792a90af441247d9d8f885936b (patch)
tree541fc911da60ec03a3134b97fed773c48e0c7fb0 /features/recruits_who_answered_all_questions.feature
parentNamed scope in User for fetching recruits that answered all questions (diff)
downloadrecruiting-webapp-c2e2632815545d792a90af441247d9d8f885936b.tar.gz
recruiting-webapp-c2e2632815545d792a90af441247d9d8f885936b.tar.bz2
recruiting-webapp-c2e2632815545d792a90af441247d9d8f885936b.zip
Link on homepage to listing of recruits with all questions answered
Diffstat (limited to 'features/recruits_who_answered_all_questions.feature')
-rw-r--r--features/recruits_who_answered_all_questions.feature10
1 files changed, 10 insertions, 0 deletions
diff --git a/features/recruits_who_answered_all_questions.feature b/features/recruits_who_answered_all_questions.feature
index baca465..7d7ccc0 100644
--- a/features/recruits_who_answered_all_questions.feature
+++ b/features/recruits_who_answered_all_questions.feature
@@ -13,3 +13,13 @@ Feature: Viewing recruits who answered all questions
Then I should see "recruit1" within ".user .collection"
And I should see "recruit2" within ".user .collection"
+ Scenario: Go to ready recruits from homepage
+ Given a question "some question" in category "some cat"
+ And recruit "recruit1" in following categories:
+ |some cat|
+ And user "recruit1" answered all questions in "some cat"
+ And a user "recruit2" who is "recruit"
+ And I am logged in as "recruiter" who is "recruiter"
+ When I am on the home page
+ And I follow "Recruits that answered all questions"
+ Then I should be on ready recruits page