Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c34b1fc18b
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (23 sloc) 0.794 kb
# Add your steps here
#
# A few examples:
#
# Given %r{^I was registered with ([^/\s]+)/(\S+)}i do |email, password|
# @current_person = Person.generate(:email => email, :password => password))
# end
#
# Given %r{^I am authenticated as ([^/\s]+)/(\S+)}i do |email, password|
# Given %{I was registered with #{email}/#{password}}
# Then %{I can log in as #{email}/#{password}}
# end
#
# Then %r{^I can log in as ([^/\s]+)/(\S+)}i do |email, password|
# When %{I try to log in as #{email}/#{password}}
# Then %{I should be redirected to /dashboard}
# end
#
# Then %r{^I can not log in as ([^/\s]+)/(\S+)}i do |email, password|
# When %{I try to log in as #{email}/#{password}}
# Then %{I should be redirected to /sessions}
# And %{I should see "Wrong e-mail or password!"}
# end
Jump to Line
Something went wrong with that request. Please try again.