Upstream sync

This commit is contained in:
Senad Uka
2020-06-16 17:11:04 +02:00
parent 028e946fcf
commit 9a540efc74
15 changed files with 141 additions and 11 deletions

View File

@@ -263,7 +263,9 @@ RSpec.describe AppearanceReleasesController, tye: :controller do
end
def minor_appearance_release_params
attributes_for(:appearance_release, :non_native, :minor_with_guardian_photo).except(:contract).merge(contract_param, exploitable_rights_params)
attributes_for(:appearance_release, :non_native, :minor_with_guardian_photo)
.except(:contract)
.merge(contract_param, exploitable_rights_params)
end
def exploitable_rights_params