Add background directive to get english language as default

This commit is contained in:
Nicolas Le Goff
2013-03-12 16:24:30 +01:00
committed by Romain Neutron
parent 6609ec8d03
commit 25d1a3f539
4 changed files with 12 additions and 0 deletions

View File

@@ -3,6 +3,9 @@ Feature: Forgot password
As a non authenticated user
I need to be able to get a new password if I forget my own password
Background:
Given locale is "en_GB"
Scenario: Give access to forgot password page
Given I am not authenticated
When I am on "/login/"

View File

@@ -3,6 +3,9 @@ Feature: Guest access
As a a guest
I need to be able to log in
Background:
Given locale is "en_GB"
Scenario: Give access to guests
Given user guest access is enable
And I am not authenticated

View File

@@ -3,6 +3,9 @@ Feature: Locale
As a user
I need to be able to change the application locale
Background:
Given locale is "en_GB"
Scenario: Change the application language to german
Given I am not authenticated
And locale is "en_GB"

View File

@@ -3,6 +3,9 @@ Feature: Register
As a non authenticated user
I need to be able to submit a register form
Background:
Given locale is "en_GB"
Scenario: Give access to register page
Given user registration is enable
And I am not authenticated