Skip to content

Commit

Permalink
Fix view spec after core change that supports customizing submit label
Browse files Browse the repository at this point in the history
  • Loading branch information
amaierhofer authored and kronn committed May 7, 2024
1 parent 7b84c1a commit c7857d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/views/event/participations/_form.html.haml_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c7857d1

Please sign in to comment.