Allow empty entity for crud tests
This commit is contained in:
parent
981270d8c8
commit
d344cf7198
@ -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|
|
||||
|
Loading…
Reference in New Issue
Block a user