aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-07-14 13:31:11 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-07-19 17:15:09 +0200
commitbf8e6190758e4dfef91f5122b5af3b73f008f9f1 (patch)
treed0242bc75b302b7d846b50941acb0adb34d7a51a /features
parentDon't show reference field to non-recruiters (diff)
downloadrecruiting-webapp-bf8e6190758e4dfef91f5122b5af3b73f008f9f1.tar.gz
recruiting-webapp-bf8e6190758e4dfef91f5122b5af3b73f008f9f1.tar.bz2
recruiting-webapp-bf8e6190758e4dfef91f5122b5af3b73f008f9f1.zip
Clean project acceptances view
Don't show "Project acceptances" tab. Remove index of project acceptances. Show users project acceptances on home page and in user profile.
Diffstat (limited to 'features')
-rw-r--r--features/lead_approval.feature24
1 files changed, 24 insertions, 0 deletions
diff --git a/features/lead_approval.feature b/features/lead_approval.feature
index 2231dfa..3bebc25 100644
--- a/features/lead_approval.feature
+++ b/features/lead_approval.feature
@@ -43,3 +43,27 @@ Feature: Project Lead Approval
And I am logged in as "recruit"
When I am on "recruit" user page
Then I should see "Accepted by some_project_lead" within ".project-acceptances"
+
+ Scenario: Do not have useless index
+ When I am on the home page
+ Then I should not see "Project Acceptances" within ".navigation.main-nav"
+
+ When I am logged in as "recruit"
+ Then I should not see "Project Acceptances" within ".navigation.main-nav"
+
+ Scenario: View my project acceptances on homepage
+ Given pending project acceptance of "recruit" by "some project lead"
+ And accepted project acceptance of "recruit" by "other project lead"
+ When I am logged in as "recruit"
+ And I am on the home page
+ Then I should see "Waiting for acceptance by some project lead"
+ And I should see "Accepted by other project lead"
+
+ Scenario: View my project acceptances in user profile
+ Given pending project acceptance of "recruit" by "some project lead"
+ And accepted project acceptance of "recruit" by "other project lead"
+ When I am logged in as "recruiter" who is "recruiter"
+ And I am on the home page
+ And I follow "recruit"
+ Then I should see "Waiting for acceptance by some project lead"
+ And I should see "Accepted by other project lead"