Skip to content

Commit

Permalink
Adjust wizard document links (#1428)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWalkingLeek authored Dec 19, 2024
1 parent b7b189c commit edbdcc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/locales/wagon.de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1762,10 +1762,10 @@ de:
link_agb: https://www.sac-cas.ch/de/meta/agb/die-alpen/
link_faqs: https://www.sac-cas.ch/de/meta/faq/mitgliedschaft
link_faqs_title: FAQs
link_statutes: https://www.sac-cas.ch/fileadmin/Der_SAC/Statuten/20240702_SAC_Statuten_A5_DE__3_.pdf
link_statutes: https://www.sac-cas.ch/fileadmin/Spezial/SAC-Mitgliedschaft/DE/SAC_Statuten_A5_DE.pdf
link_statutes_title: Statuten
link_sektion_statuten_title: Sektionsstatuten
link_contribution_regulations: https://www.sac-cas.ch/fileadmin/Spezial/SAC-Mitgliedschaft/DE/Beitragsreglement_AV_2024_-_Gültig_ab_1.1.2025.pdf
link_contribution_regulations: https://www.sac-cas.ch/fileadmin/Spezial/SAC-Mitgliedschaft/DE/Beitragsreglement.pdf
link_contribution_regulations_title: Beitragsreglement
link_data_protection: https://www.sac-cas.ch/de/meta/datenschutz
link_data_protection_title: Datenschutzerklärung
Expand Down
5 changes: 2 additions & 3 deletions spec/components/self_registration/infos_component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,11 @@
end

it "renders link to statutes" do
expect(body).to have_link "Statuten", href: "https://www.sac-cas.ch/fileadmin/Der_SAC/Statuten/20240702_SAC_Statuten_A5_DE__3_.pdf"
expect(body).to have_link "Statuten", href: "https://www.sac-cas.ch/fileadmin/Spezial/SAC-Mitgliedschaft/DE/SAC_Statuten_A5_DE.pdf"
end

it "renders link to contributation regulations" do
file = CGI.escape("Beitragsreglement_AV_2024_-_Gültig_ab_1.1.2025.pdf")
expect(body).to have_link "Beitragsreglement", href: "https://www.sac-cas.ch/fileadmin/Spezial/SAC-Mitgliedschaft/DE/#{file}"
expect(body).to have_link "Beitragsreglement", href: "https://www.sac-cas.ch/fileadmin/Spezial/SAC-Mitgliedschaft/DE/Beitragsreglement.pdf"
end

it "renders link to data protection" do
Expand Down

0 comments on commit edbdcc3

Please sign in to comment.