more tests, trying minitest

This commit is contained in:
2022-12-22 21:27:28 +02:00
parent b42d8137a9
commit 168320d6ee
6 changed files with 90 additions and 7 deletions

View File

@ -2,4 +2,7 @@ class ApplicationController < ActionController::Base
def authenticate_member!
true
end
def current_member
Member.new(email: "torsten@villataika.fi")
end
end

View File

@ -0,0 +1,6 @@
class Member
attr_reader :email
def initialize(hash)
@email = hash[:email]
end
end