fix appearance release spec

This commit is contained in:
bilal
2020-06-12 14:53:54 +02:00
parent a5822a9556
commit 867260514e

View File

@@ -263,7 +263,10 @@ 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)
.except(:guardian_email)
.merge(contract_param, exploitable_rights_params)
end
def exploitable_rights_params