diff --git a/features/step_definitions/clearance_steps.rb b/features/step_definitions/clearance_steps.rb index 55383d4..a563b91 100644 --- a/features/step_definitions/clearance_steps.rb +++ b/features/step_definitions/clearance_steps.rb @@ -39,6 +39,11 @@ When /^session is cleared$/ do controller.instance_variable_set(:@_current_user, nil) end +Given /^I have signed in with "(.*)\/(.*)"$/ do |email, password| + Given %{I am signed up and confirmed as "#{email}/#{password}"} + And %{I sign in as "#{email}/#{password}"} +end + # Emails Then /^a confirmation message should be sent to "(.*)"$/ do |email| -- libgit2 0.21.2