diff --git a/spec/features/event_schedules_spec.rb b/spec/features/event_schedules_spec.rb index a7d1b0ee2..bbb3eaf20 100644 --- a/spec/features/event_schedules_spec.rb +++ b/spec/features/event_schedules_spec.rb @@ -41,6 +41,6 @@ it 'jumps to the closest event' do find('#current-event-btn').click highlighted_element = page.find('.highlighted', visible: true, wait: 1) - expect(highlighted_element[:id]).to include("event-#{scheduled_event_mid.id}") + expect(highlighted_element[:id]).to include("event_#{scheduled_event_mid.id}") end end