Replace link with button in login items component

- modified related specs
- modified scss to keep new button same style as previous link
This commit is contained in:
cyrillefr
2025-04-03 22:18:34 +02:00
parent bc912b53da
commit c6f0a3761b
7 changed files with 16 additions and 10 deletions

View File

@@ -18,7 +18,7 @@ describe Layout::AdminHeaderComponent do
expect(page).to have_link "You don't have new notifications"
expect(page).to have_link "My content"
expect(page).to have_link "My account"
expect(page).to have_link "Sign out"
expect(page).to have_button "Sign out"
expect(page).to have_css "[data-toggle]"
end