Allow empty entity for crud tests

This commit is contained in:
Alexander Meindl 2022-03-03 19:10:29 +01:00
parent 981270d8c8
commit d344cf7198

View File

@ -190,7 +190,7 @@ module CrudControllerBase
assert_response 302
end
@crud[:entity].reload
@crud[:entity]&.reload
if @crud[:update_assert].present?
@crud[:update_assert].each do |name|