bigfleet (owner)

Fork Of

Revisions

gist: 72366 Download_button fork
public
Public Clone URL: git://gist.github.com/72366.git
Embed All Files: show embed
identification.feature #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Feature: Identifying local leadership training chairs
  In order to identify local volunteers with increased capabilities
  As a super-user
  I want to be able to identify local leadership training chairs from each chapter
 
Background:
  Given an application role "Local Leadership Training Chair"
  Given a LLTC 'Joe' from 'Cincinnati'
 
Scenario: Admin viewing the LLTC page
  Given an administrator 'Jane'
  When Jane logs in
  And Jane visits the home page
  Then Jane should see a link to identify local leadership training chairs in the navigation
 
Scenario: Not logged in, loading the training chair identification page
  When a random passerby loads the LLTC identification screen
  Then they should be directed to login
 
Scenario: Logged in, regular user loading the training chair identification page
  When Joe logs in
  And Joe loads the LLTC identification screen
  Then Joe should receive a message that he lacks authorization
 
# For this one, if Joe is already an LLTC, so should he be able to be identified as
# one again?
Scenario: Admin can view the LLTC page
  When Jane logs in
  And Jane loads the LLTC identification screen
  And Jane selects the 'Cincinnati' chapter
  Then Jane should see a link to identify 'Joe' as the LLTC
  
Scenario: LLTC selection
  Given Admin viewing the LLTC page
  When Jane clicks the link to identify 'Joe' as the local leadership training chair
  Then Joe should be a LLTC for Cincinnati
 
Scenario: LLT Co-chair identification
  Given a volunteer 'Joanne' from 'Cincinnati'
  And Jane loads the LTC identification screen
  Then Jane should see a link to identify 'Joanne' as the local leadership training chair
  And Jane should see a link to remove 'Joe' as the local leadership training chair
  
Scenario: LLT Co-chair selection
  Given a volunteer 'Joanne' from 'Cincinnati'
  And Jane loads the LTC identification screen
  When Jane clicks the link to identify 'Joanne' as the LLTC
  Then Joe should be a LLTC for 'Cincinnati'
  And Joanne should be a LLTC for 'Cincinnati'
  
Scenario: LLT term ending
  Given Jane loads the LTC identification screen
  When Jane clicks the link to remove 'Joe' as the LLTC
  Then Joe should not be a LLTC for 'Cincinnati'