There aren't any li children so just use div
This commit is contained in:
@@ -37,7 +37,7 @@ module EventsHelper
|
||||
|
||||
def event_cluster_tag(hour, col, &)
|
||||
row = 25 - hour
|
||||
tag.ul class: "events__time-block", style: "grid-area: #{row}/#{col}", &
|
||||
tag.div class: "events__time-block", style: "grid-area: #{row}/#{col}", &
|
||||
end
|
||||
|
||||
def event_next_page_link(next_day)
|
||||
|
||||
@@ -11,7 +11,7 @@ class EventsControllerTest < ActionDispatch::IntegrationTest
|
||||
test "index" do
|
||||
get events_path
|
||||
|
||||
assert_select "ul.events__time-block[style='grid-area: 17/2']" do
|
||||
assert_select "div.events__time-block[style='grid-area: 17/2']" do
|
||||
assert_select "strong", text: "David assigned JZ to Layout is broken"
|
||||
end
|
||||
end
|
||||
@@ -21,7 +21,7 @@ class EventsControllerTest < ActionDispatch::IntegrationTest
|
||||
|
||||
get events_path
|
||||
|
||||
assert_select "ul.events__time-block[style='grid-area: 22/2']" do
|
||||
assert_select "div.events__time-block[style='grid-area: 22/2']" do
|
||||
assert_select "strong", text: "David assigned JZ to Layout is broken"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user