From 714f7201d3362793d11f33793e5ef6dc83bdd2f0 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 26 Jun 2014 09:49:14 +0200 Subject: Add project stars. --- features/steps/shared/authentication.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'features/steps/shared/authentication.rb') diff --git a/features/steps/shared/authentication.rb b/features/steps/shared/authentication.rb index b8c11ce0a23..b48021dc146 100644 --- a/features/steps/shared/authentication.rb +++ b/features/steps/shared/authentication.rb @@ -24,6 +24,10 @@ module SharedAuthentication current_path.should == new_user_session_path end + step "I logout" do + logout + end + def current_user @user || User.first end -- cgit v1.2.1