From b01ccf039221d5fc350145cd3408decb0e7b8817 Mon Sep 17 00:00:00 2001 From: Joel Hawksley Date: Mon, 3 Jul 2023 16:08:08 -0600 Subject: [PATCH] use correct syntax for assert_select (#1791) * use correct syntax for assert_select * standardrb --- test/sandbox/test/integration_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sandbox/test/integration_test.rb b/test/sandbox/test/integration_test.rb index 2f470bf50..d5ff1bdd3 100644 --- a/test/sandbox/test/integration_test.rb +++ b/test/sandbox/test/integration_test.rb @@ -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