diff --git a/app/views/registration/steps/_finished.html.haml b/app/views/registration/steps/_finished.html.haml index d22384dbdb..f78178c0df 100644 --- a/app/views/registration/steps/_finished.html.haml +++ b/app/views/registration/steps/_finished.html.haml @@ -9,4 +9,4 @@ %p= t(".login") .row .small-12.columns.text-center - %a.button.primary{ type: "button", href: "/" }= "#{t(".action")} >" + %a.button.primary{ type: "button", href: spree.admin_dashboard_path }= t(".action") diff --git a/config/locales/en.yml b/config/locales/en.yml index 7b9c07620f..412dc970cd 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1989,7 +1989,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using headline: "Finished!" thanks: "Thanks for filling out the details for %{enterprise}." login: "You can change or update your enterprise at any stage by logging into Open Food Network and going to Admin." - action: "Open Food Network home" + action: "Go to Enterprise Dashboard" back: "Back" continue: "Continue" diff --git a/spec/features/consumer/registration_spec.rb b/spec/features/consumer/registration_spec.rb index f92db8835a..dc0d42183c 100644 --- a/spec/features/consumer/registration_spec.rb +++ b/spec/features/consumer/registration_spec.rb @@ -121,6 +121,9 @@ feature "Registration", js: true do expect(e.linkedin).to eq "LiNkEdIn" expect(e.twitter).to eq "@TwItTeR" expect(e.instagram).to eq "@InStAgRaM" + + click_link "Go to Enterprise Dashboard" + expect(page).to have_content "CHOOSE YOUR PACKAGE" end context "when the user has no more remaining enterprises" do