Skip to content

Commit

Permalink
use correct syntax for assert_select (#1791)
Browse files Browse the repository at this point in the history
* use correct syntax for assert_select

* standardrb
  • Loading branch information
joelhawksley authored Jul 3, 2023
1 parent a35641e commit b01ccf0
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 b01ccf0

Please sign in to comment.