Fixes houndci-bot warnings
This commit is contained in:
@@ -2,8 +2,10 @@ require 'rails_helper'
|
||||
|
||||
feature "Custom content blocks" do
|
||||
scenario "top links" do
|
||||
create(:site_customization_content_block, name: "top_links", locale: "en", body: "content for top links")
|
||||
create(:site_customization_content_block, name: "top_links", locale: "es", body: "contenido para top links")
|
||||
create(:site_customization_content_block, name: "top_links", locale: "en",
|
||||
body: "content for top links")
|
||||
create(:site_customization_content_block, name: "top_links", locale: "es",
|
||||
body: "contenido para top links")
|
||||
|
||||
visit "/?locale=en"
|
||||
|
||||
@@ -17,8 +19,10 @@ feature "Custom content blocks" do
|
||||
end
|
||||
|
||||
scenario "footer" do
|
||||
create(:site_customization_content_block, name: "footer", locale: "en", body: "content for footer")
|
||||
create(:site_customization_content_block, name: "footer", locale: "es", body: "contenido para footer")
|
||||
create(:site_customization_content_block, name: "footer", locale: "en",
|
||||
body: "content for footer")
|
||||
create(:site_customization_content_block, name: "footer", locale: "es",
|
||||
body: "contenido para footer")
|
||||
|
||||
visit "/?locale=en"
|
||||
|
||||
@@ -32,8 +36,10 @@ feature "Custom content blocks" do
|
||||
end
|
||||
|
||||
scenario "main navigation left" do
|
||||
create(:site_customization_content_block, name: "subnavigation_left", locale: "en", body: "content for left links")
|
||||
create(:site_customization_content_block, name: "subnavigation_left", locale: "es", body: "contenido para left links")
|
||||
create(:site_customization_content_block, name: "subnavigation_left", locale: "en",
|
||||
body: "content for left links")
|
||||
create(:site_customization_content_block, name: "subnavigation_left", locale: "es",
|
||||
body: "contenido para left links")
|
||||
|
||||
visit "/?locale=en"
|
||||
|
||||
@@ -47,8 +53,10 @@ feature "Custom content blocks" do
|
||||
end
|
||||
|
||||
scenario "main navigation right" do
|
||||
create(:site_customization_content_block, name: "subnavigation_right", locale: "en", body: "content for right links")
|
||||
create(:site_customization_content_block, name: "subnavigation_right", locale: "es", body: "contenido para right links")
|
||||
create(:site_customization_content_block, name: "subnavigation_right", locale: "en",
|
||||
body: "content for right links")
|
||||
create(:site_customization_content_block, name: "subnavigation_right", locale: "es",
|
||||
body: "contenido para right links")
|
||||
|
||||
visit "/?locale=en"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user