timriley (owner)

Revisions

gist: 73598 Download_button fork
public
Public Clone URL: git://gist.github.com/73598.git
Embed All Files: show embed
restrict_access.feature #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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