Skip to content

Commit

Permalink
use correct syntax for assert_select
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhawksley committed Jul 3, 2023
1 parent a35641e commit 05e2f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sandbox/test/integration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def test_rendering_component_with_a_partial
get "/partial"
assert_response :success

assert_select("div", "hello,partial world!", count: 2)
assert_select("div", { text: "hello,partial world!", count: 4 })
end

def test_rendering_component_without_variant
Expand Down

0 comments on commit 05e2f2e

Please sign in to comment.