From 7018c9ba1d5e0de37d34d960ce0ad6e71f7d1820 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Tue, 3 Jun 2025 20:02:32 +0300 Subject: [PATCH] Remove I18n.t references from user company system test --- test/system/user_company_test.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/system/user_company_test.rb b/test/system/user_company_test.rb index ad23f16bc..161d77852 100644 --- a/test/system/user_company_test.rb +++ b/test/system/user_company_test.rb @@ -14,12 +14,12 @@ class UserCompanyTest < ApplicationSystemTestCase visit profile_path - assert_text I18n.t("activerecord.attributes.user.company") - - fill_in "Company", :with => company - click_on I18n.t("profiles.show.save") + within_content_body do + fill_in "Company", :with => company + click_on "Update Profile" + end - assert_text I18n.t("profiles.update.success") + assert_text "Profile updated" within_content_heading do assert_text company end -- 2.39.5