diff --git a/test/components/error_message_test.rb b/test/components/error_message_test.rb index 15704288eb..8141a6b15f 100644 --- a/test/components/error_message_test.rb +++ b/test/components/error_message_test.rb @@ -13,11 +13,11 @@ def component_name test "renders an error message correctly" do render_component(text: "Descriptive error message") - assert_select ".app-c-error-message", text: "Descriptive error message" + assert_select ".gem-c-error-message", text: "Descriptive error message" end test "renders an error message with an id" do render_component(text: "Descriptive error message with id", id: "unique-error-id") - assert_select ".app-c-error-message[id='unique-error-id']", text: "Descriptive error message with id" + assert_select ".gem-c-error-message[id='unique-error-id']", text: "Descriptive error message with id" end end