Commit b6baf0ecd2c8911575ebebc80da599f69d70247f
1 parent
1c00a70e
Exists in
master
and in
1 other branch
Given I have signed in with...
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
features/step_definitions/clearance_steps.rb
| ... | ... | @@ -39,6 +39,11 @@ When /^session is cleared$/ do |
| 39 | 39 | controller.instance_variable_set(:@_current_user, nil) |
| 40 | 40 | end |
| 41 | 41 | |
| 42 | +Given /^I have signed in with "(.*)\/(.*)"$/ do |email, password| | |
| 43 | + Given %{I am signed up and confirmed as "#{email}/#{password}"} | |
| 44 | + And %{I sign in as "#{email}/#{password}"} | |
| 45 | +end | |
| 46 | + | |
| 42 | 47 | # Emails |
| 43 | 48 | |
| 44 | 49 | Then /^a confirmation message should be sent to "(.*)"$/ do |email| | ... | ... |