Refactor login/logout into sessions controller
Certain controller methods are shared with oauth-based logins, and these have been moved to a concern.
This commit is contained in:
parent
3512d6303c
commit
f18baae22e
16 changed files with 285 additions and 250 deletions
|
@ -5,7 +5,7 @@ class IssuesTest < ApplicationSystemTestCase
|
|||
|
||||
def test_view_issues_not_logged_in
|
||||
visit issues_path
|
||||
assert page.has_content?(I18n.t("users.login.title"))
|
||||
assert page.has_content?(I18n.t("sessions.new.title"))
|
||||
end
|
||||
|
||||
def test_view_issues_normal_user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue