blob: acaa4f84f48d203f65e9e17fa15ce322892c8811 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
When /^I fill in example user registration data$/ do
When "I fill in the following:", table(%{
|user_name|examle|
|user_email_address|example@example.com|
|user_irc_nick|example|
|user_password|Example|
|user_password_confirmation|Example|
})
end
When /^I signup as example user without IRC nick$/ do
When 'I fill in example user registration data'
When 'I fill in "user_irc_nick" with ""'
When 'I press "Signup"'
end
When /^I signup as example user with IRC nick$/ do
When 'I fill in example user registration data'
When 'I press "Signup"'
end
Given /^I am logged in as example user$/ do
Given 'example user'
When 'I am on the login page'
When 'I login as example user'
end
|