From c7857d101d8ba3dcb88610c3135bc07ee6944c2d Mon Sep 17 00:00:00 2001 From: Andreas Maierhofer Date: Wed, 1 May 2024 17:02:02 +0200 Subject: [PATCH] Fix view spec after core change that supports customizing submit label --- spec/views/event/participations/_form.html.haml_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/views/event/participations/_form.html.haml_spec.rb b/spec/views/event/participations/_form.html.haml_spec.rb index 5af0fd2ed..cd040cea1 100644 --- a/spec/views/event/participations/_form.html.haml_spec.rb +++ b/spec/views/event/participations/_form.html.haml_spec.rb @@ -21,7 +21,7 @@ path_args: [group, event, participation], model_class: Event::Participation) - allow(view).to receive_messages(entry: participation.decorate) + allow(view).to receive_messages(entry: participation.decorate, submit_label: 'Speichern') allow(controller).to receive_messages(current_user: participant) assign(:event, event.decorate) assign(:group, group)