From b6baf0ecd2c8911575ebebc80da599f69d70247f Mon Sep 17 00:00:00 2001 From: Dan Croak Date: Sat, 15 Aug 2009 05:32:47 -0400 Subject: [PATCH] Given I have signed in with... --- features/step_definitions/clearance_steps.rb | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) 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