Commit b6baf0ecd2c8911575ebebc80da599f69d70247f

Authored by Dan Croak
1 parent 1c00a70e

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,6 +39,11 @@ When /^session is cleared$/ do
39 controller.instance_variable_set(:@_current_user, nil) 39 controller.instance_variable_set(:@_current_user, nil)
40 end 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 # Emails 47 # Emails
43 48
44 Then /^a confirmation message should be sent to "(.*)"$/ do |email| 49 Then /^a confirmation message should be sent to "(.*)"$/ do |email|