From 23111a9ca31177c324101b8cd31a9ae0e67f9504 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 17 Dec 2012 09:53:38 +0100 Subject: fixed inclusion of stub record helper --- users/test/support/auth_test_helper.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'users/test/support/auth_test_helper.rb') diff --git a/users/test/support/auth_test_helper.rb b/users/test/support/auth_test_helper.rb index 6a82f24..c9f5612 100644 --- a/users/test/support/auth_test_helper.rb +++ b/users/test/support/auth_test_helper.rb @@ -1,5 +1,4 @@ module AuthTestHelper - include StubRecordHelper extend ActiveSupport::Concern # Controller will fetch current user from warden. @@ -24,7 +23,7 @@ module AuthTestHelper assert_equal({:alert => "Not authorized"}, flash.to_hash) # todo: eventually probably eliminate separate conditions assert_redirected_to login_path if !logged_in - assert_redirected_to root_path if logged_in + assert_redirected_to root_path if logged_in else assert flash[:alert].blank? end -- cgit v1.2.3