Fix flashes display after grid introduction

Closes #5
This commit is contained in:
2024-01-17 21:57:18 +01:00
parent 11ecd8eaed
commit 1227c54e0e
5 changed files with 31 additions and 21 deletions

View File

@@ -41,8 +41,7 @@ class UnitsTest < ApplicationSystemTestCase
assert_selector 'tr', count: @user.units.count
end
assert_selector :link_or_button, text: t('units.index.add_unit')
# assert_selector flash
assert_selector '.flash.notice', text: t('units.create.success')
end
test "close new unit form with escape" do