Created
November 15, 2012 14:26
-
-
Save tansaku/4078862 to your computer and use it in GitHub Desktop.
Display Assignment Status Prominently feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: display assignment status prominently on homepage | |
As a busy student | |
So that I can quickly determine what outstanding assignments I have | |
And so that I can quickly submit assignments | |
I want the first thing I see to be the assignment management page | |
Background: assignments have been added to the database | |
Given the following assignments exist | |
| title | week | optional | | |
| introduction post | 1 | no | | |
| background questionnaire | 1 | no | | |
# need student table and submission table | |
# and logged in as some student? | |
And I am on the home page | |
Scenario: view outstanding assignments | |
I should see "You have completed the introduction post" | |
I should see "You have not completed the background questionnaire" | |
Scenario: submit an outstanding assignment | |
Given that I enter 'yes' into background_questionnaire textfield | |
And click submit | |
I should see "You have completed the background questionnaire" | |
#And I should see "view your submission" | |
#And I should see "edit your submission" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment