mirror of
https://github.com/we-promise/sure.git
synced 2026-06-02 01:09:01 +00:00
New Settings Menu, Routes and Controllers Organization (#641)
* Add new settings routes and controllers * Add new settings view, restructure controllers and routes * Fix lint errors
This commit is contained in:
@@ -12,9 +12,10 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
|
||||
fill_in "Password", with: "password"
|
||||
click_button "Log in"
|
||||
end
|
||||
assert_text "Dashboard", wait: 5
|
||||
find('[data-controller="menu"]').click
|
||||
end
|
||||
|
||||
def sign_out
|
||||
find("#user-menu").click
|
||||
click_button "Logout"
|
||||
assert_text "Sign in to your account"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user