Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
victormours committed Dec 3, 2024
1 parent 3ec1d5d commit 596be1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/agents/rdv_wizard/step4_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
it "sends a sms with a valid link" do
login_as(agent, scope: :agent)
visit new_admin_organisation_rdv_wizard_step_path(params)
click_button "Créer RDV"
click_button "Confirmer le RDV"
expect(page).to have_content("Le rendez-vous a été créé.")
rdv_url = rdv_short_url(Rdv.last, host: Domain::RDV_SOLIDARITES.host_name, tkn: "12345")
expect_sms_enqueued(content: /#{rdv_url}/)
Expand Down

0 comments on commit 596be1c

Please sign in to comment.