diff --git a/app/views/layouts/devise.html.erb b/app/views/layouts/devise.html.erb index 55916e678..edc987132 100644 --- a/app/views/layouts/devise.html.erb +++ b/app/views/layouts/devise.html.erb @@ -1,7 +1,7 @@
- <%= render "layouts/common_head", default_title: "Gobierno abierto" %> + <%= render "layouts/common_head", default_title: setting["org_name"] %> <%= render "layouts/meta_tags" %> <%= raw setting["html.per_page_code_head"] %> diff --git a/app/views/users/registrations/success.html.erb b/app/views/users/registrations/success.html.erb index d733ad0c0..b1e280398 100644 --- a/app/views/users/registrations/success.html.erb +++ b/app/views/users/registrations/success.html.erb @@ -1,3 +1,4 @@ +<% provide(:title) { t("devise_views.users.registrations.success.title") } %><%= sanitize(t("devise_views.users.registrations.success.thank_you")) %>
<%= sanitize(t("devise_views.users.registrations.success.instructions_1")) %>
diff --git a/spec/features/registration_form_spec.rb b/spec/features/registration_form_spec.rb index 22cbefaf8..32ff9f824 100644 --- a/spec/features/registration_form_spec.rb +++ b/spec/features/registration_form_spec.rb @@ -35,6 +35,7 @@ describe "Registration form" do click_button "Register" + expect(page).to have_title "Confirm your email address" expect(page).to have_content "Thank you for registering" new_user = User.last