Skip to content

Commit 60b8665

Browse files
committed
[TAC025] Fix meetings specs after the HTML validation
1 parent 97259e6 commit 60b8665

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

decidim-meetings/spec/cells/decidim/meetings/content_blocks/upcoming_events_cell_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module ContentBlocks
2020
let(:meeting) { create(:meeting, start_time: 1.week.from_now) }
2121

2222
it "renders the events" do
23-
expect(html).to have_css("article.card", count: 1)
23+
expect(html).to have_css(".card", count: 1)
2424
end
2525

2626
describe "upcoming events" do

decidim-meetings/spec/system/explore_meetings_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
describe "index" do
1515
it "shows all meetings for the given process" do
1616
visit_component
17-
expect(page).to have_selector(".card", count: meetings_count)
17+
expect(page).to have_selector(".card--meeting", count: meetings_count)
1818

1919
meetings.each do |meeting|
2020
expect(page).to have_content(translated(meeting.title))

0 commit comments

Comments
 (0)