Skip to content

Commit

Permalink
fixup! Add banner to the taxonomy navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgarner committed Aug 10, 2018
1 parent d6bbb24 commit 54e2350
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/integration/content_pages_navigation_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
refute page.has_css?('.taxonomy-navigation__banner')
end

test "ContentPagesNav variant B when a page belongs to a two topics shows home breadcrumb" do
test "ContentPagesNav variant B shows home breadcrumb when a page belongs to a two topics" do
stub_rummager
setup_variant_b

Expand All @@ -288,7 +288,7 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
end
end

test "ContentPagesNav variant B when a page belongs to a two topics shows banner" do
test "ContentPagesNav variant B shows banner when a page belongs to two topics" do
stub_rummager
setup_variant_b

Expand All @@ -301,7 +301,7 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
end
end

test "ContentPagesNav variant B when a page belongs to more than two topics shows breadcrumb" do
test "ContentPagesNav variant B shows breadcrumb when a page belongs to more than two topics" do
stub_rummager
setup_variant_b

Expand All @@ -315,7 +315,7 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
end
end

test "ContentPagesNav variant B when a page belongs to more than two topics shows banner" do
test "ContentPagesNav variant B shows banner when a page belongs to more than two topics" do
stub_rummager
setup_variant_b

Expand All @@ -329,7 +329,7 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
end
end

test "ContentPagesNav variant B when a page belongs to a single topic and a step by step shows full breadcrumb" do
test "ContentPagesNav variant B shows full breadcrumb when a page belongs to a single topic and a step by step" do
stub_rummager
setup_variant_b

Expand All @@ -341,7 +341,7 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
end
end

test "ContentPagesNav variant B when a page belongs to a single topic and a step by step shows banner" do
test "ContentPagesNav variant B shows banner when a page belongs to a single topic and a step by step" do
stub_rummager
setup_variant_b

Expand All @@ -353,7 +353,7 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
end
end

test "ContentPagesNav variant B when a page belongs to a two topics and a step by step shows home breadcrumb" do
test "ContentPagesNav variant B shows home breadcrumb when a page belongs to a two topics and a step by step" do
stub_rummager
setup_variant_b

Expand All @@ -366,7 +366,7 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
end
end

test "ContentPagesNav variant B when a page belongs to a two topics and a step by step shows banner" do
test "ContentPagesNav variant B shows banner when a page belongs to two topics and a step by step" do
stub_rummager
setup_variant_b

Expand All @@ -381,7 +381,7 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
end
end

test "ContentPagesNav variant B when a page belongs to more than two topics and a step by step shows home breadcrumb" do
test "ContentPagesNav variant B shows home breadcrumb when a page belongs to more than two topics and a step by step" do
stub_rummager
setup_variant_b

Expand All @@ -395,7 +395,7 @@ class ContentPagesNavigationTest < ActionDispatch::IntegrationTest
end
end

test "ContentPagesNav variant B when a page belongs to more than two topics and a step by step shows banner" do
test "ContentPagesNav variant B shows banner when a page belongs to more than two topics and a step by step" do
stub_rummager
setup_variant_b

Expand Down

0 comments on commit 54e2350

Please sign in to comment.