MINOR: Make Salad accept "login" or "log in"

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101870 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Luke Hudson 2010-03-30 05:37:08 +00:00 committed by Sam Minnee
parent a32b6237ed
commit 1d50542d6f

View File

@ -15,7 +15,7 @@ Given /log out$/ do
Given "I visit Security/logout"
end
Given /fill out the log in form with user "(.*)" and password "(.*)"/ do |user, password|
Given /fill out the log(?:\s*)in form with user "(.*)" and password "(.*)"/ do |user, password|
Given 'I visit Security/logout'
And 'I visit Security/login?BackURL=Security/login'
And "I put \"#{user}\" in the \"Email\" field"