Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed Nov 24, 2024
1 parent 95597b5 commit 46ec7e4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/controllers/topics_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ class TopicsControllerTest < ActionDispatch::IntegrationTest
get topic_url(@topic1)
assert_response :success
assert_select "h1", @topic1.name
assert_select "#topic-talks > div", 1
assert_select "##{dom_id(@talk)} h2", @talk.title
assert_select "turbo-frame#grid-talks", 1

get topic_url(@topic2)
assert_response :success
assert_select "h1", @topic2.name
assert_select "#topic-talks > div", 0
assert_select "turbo-frame#grid-talks", 1
end
end

0 comments on commit 46ec7e4

Please sign in to comment.