diff --git a/lib/minimalist/test_helper.rb b/lib/minimalist/test_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/minimalist/test_helper.rb
+++ b/lib/minimalist/test_helper.rb
@@ -4,5 +4,9 @@ module Minimalist
     def login_as(user)
       @request.session[:user_id] = user ? users(user).id : nil
     end
+    
+    def current_user
+      @current_user ||= User.find(@request.session[:user_id])
+    end
   end
 end
\ No newline at end of file
add current_user method to test helper for helper tests