diff --git a/config/locales/admin.es.yml b/config/locales/admin.es.yml index 580c46bf6..160b187ea 100644 --- a/config/locales/admin.es.yml +++ b/config/locales/admin.es.yml @@ -727,7 +727,6 @@ es: new: title: Página nueva page: - actions: Acciones created_at: Creada status: Estado title: Título diff --git a/spec/features/admin/site_customization/content_blocks_spec.rb b/spec/features/admin/site_customization/content_blocks_spec.rb index cc5dca34c..de2155737 100644 --- a/spec/features/admin/site_customization/content_blocks_spec.rb +++ b/spec/features/admin/site_customization/content_blocks_spec.rb @@ -88,7 +88,7 @@ feature "Admin custom content blocks" do expect(page).to have_content("#{block.name} (#{block.locale})") expect(page).to have_content(block.body) - click_button "Delete" + click_button "Delete block" expect(page).to_not have_content("#{block.name} (#{block.locale})") expect(page).to_not have_content(block.body) @@ -98,7 +98,7 @@ feature "Admin custom content blocks" do block = create(:site_customization_content_block) visit edit_admin_site_customization_content_block_path(block) - click_button "Delete" + click_button "Delete block" expect(page).to_not have_content("#{block.name} (#{block.locale})") expect(page).to_not have_content(block.body) diff --git a/spec/features/admin/site_customization/pages_spec.rb b/spec/features/admin/site_customization/pages_spec.rb index 5d03638d8..3e940ea69 100644 --- a/spec/features/admin/site_customization/pages_spec.rb +++ b/spec/features/admin/site_customization/pages_spec.rb @@ -62,7 +62,7 @@ feature "Admin custom pages" do custom_page = create(:site_customization_page, title: "An example custom page") visit edit_admin_site_customization_page_path(custom_page) - click_button "Delete" + click_button "Delete page" expect(page).to_not have_content("An example custom page") end