aboutsummaryrefslogtreecommitdiff
blob: 4bc1c2c353404912fbb60ec0c649999bc5925dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Then /^I should see proper password entries$/ do
  page.should have_xpath("//input[@type='password'][@name='user[password]']")
  page.should have_xpath("//input[@type='password'][@name='user[password_confirmation]']")
end

When /^I fill in bad user info$/ do
  When "I fill in the following:", table(%{
    |user[name]                 |User Name      |
    |user[email]                |user@name.com  |
    |user[irc_nick]             |user           |
    |user[password]             |SomePassword   |
    |user[password_confirmation]|some_password  |
  })

end