Sha256: 4c74ad71bb2ad3e9dbf4adae67d5c91786e88d345320bc84e1c26007566fcc30
Contents?: true
Size: 794 Bytes
Versions: 12
Compression:
Stored size: 794 Bytes
Contents
# 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
Version data entries
12 entries across 12 versions & 5 rubygems