% content_for(:upload, true) %>
<% if Rails.env.test? %> <%= hidden_field_tag "images[files][0][id]", "", id: "test_file_1" %> <%= hidden_field_tag "images[files][1][id]", "", id: "test_file_2" %> <%= hidden_field_tag "images[files][2][id]", "", id: "test_file_3" %> <%= hidden_field_tag "images[cover_id]", "", id: "test_file_cover_id" %> <% end %>