Skip to content

Commit

Permalink
test: Ensure absolute URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Nov 26, 2024
1 parent fe44590 commit 89b8d16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/system/admin_reminds_users_with_pending_orders_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
emails.each do |email|
expect(email.subject).to eq("You have an unfinished vote in the participatory budgeting vote")
end
expect(last_email_first_link).to eq("/processes/#{component.participatory_space.slug}/f/#{component.id}/budgets/#{budget.id}")
expect(last_email_link).to eq("/processes/#{component.participatory_space.slug}/f/#{component.id}/")
expect(last_email_first_link).to eq("http://#{organization.host}/processes/#{component.participatory_space.slug}/f/#{component.id}/budgets/#{budget.id}")
expect(last_email_link).to eq("http://#{organization.host}/processes/#{component.participatory_space.slug}/f/#{component.id}/")
end

it "doesnt send reminders twice" do
Expand Down

0 comments on commit 89b8d16

Please sign in to comment.