forked from fixin.me/fixin.me
Downgrade importmap-rails to 1.2
v2.0.1 down not fire turbo:load event in test env, which causes tests to fail. Issue reported: https://github.com/rails/importmap-rails/issues/233
This commit is contained in:
@@ -24,7 +24,7 @@ class UnitsTest < ApplicationSystemTestCase
|
||||
fill_in 'unit[name]',
|
||||
with: [nil, SecureRandom.alphanumeric(rand(1..maxlength['unit[name]']))].sample
|
||||
assert_difference ->{ Unit.count }, 1 do
|
||||
click_on t(:add)
|
||||
click_on t('helpers.submit.create')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user