Created
September 5, 2010 14:47
-
-
Save tanordheim/566066 to your computer and use it in GitHub Desktop.
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: Administration interface | |
So that I can administer my site | |
As an administrator | |
I want to make sure I can access the admin interface if I am authenticated | |
Scenario: Redirect me to the login page if I am not authenticated | |
Given I am not authenticated as an admin | |
When I go to the admin dashboard | |
Then I should see the form "admin_new" | |
Scenario: I should see the dashboard if I am authenticated | |
Given I am authenticated as an admin | |
When I go to the admin dashboard | |
Then I should see "This is the dashboard" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment