Skip to content

Instantly share code, notes, and snippets.

@timriley
Created March 3, 2009 22:56
Show Gist options
  • Save timriley/73598 to your computer and use it in GitHub Desktop.
Save timriley/73598 to your computer and use it in GitHub Desktop.
Feature: Users cannot access to the system without logging in
In order to protect the system from unauthorized access
An anonymous user
Should not have access to the system
Scenario: Visiting the login page
Given an anonymous user
When I go to the new login page
Then I should be on the new login page
Scenario: Redirecting to login page
Given an anonymous user
When I go to the home page
Then I should be redirected to the new login page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment