From abad73a860b7dbceebd528e4484e2dc5b6e796e8 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 4 Jun 2025 02:01:56 +0300 Subject: [PATCH] Rename profile update system tests to match controller names --- .../{user_company_test.rb => profile_company_change_test.rb} | 2 +- .../{user_social_links_test.rb => profile_links_change_test.rb} | 2 +- ..._location_change_test.rb => profile_location_change_test.rb} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename test/system/{user_company_test.rb => profile_company_change_test.rb} (89%) rename test/system/{user_social_links_test.rb => profile_links_change_test.rb} (98%) rename test/system/{user_location_change_test.rb => profile_location_change_test.rb} (92%) diff --git a/test/system/user_company_test.rb b/test/system/profile_company_change_test.rb similarity index 89% rename from test/system/user_company_test.rb rename to test/system/profile_company_change_test.rb index 6edd73e85..3a2034007 100644 --- a/test/system/user_company_test.rb +++ b/test/system/profile_company_change_test.rb @@ -1,6 +1,6 @@ require "application_system_test_case" -class UserCompanyTest < ApplicationSystemTestCase +class ProfileCompanyChangeTest < ApplicationSystemTestCase test "User can change company" do user = create(:user) sign_in_as(user) diff --git a/test/system/user_social_links_test.rb b/test/system/profile_links_change_test.rb similarity index 98% rename from test/system/user_social_links_test.rb rename to test/system/profile_links_change_test.rb index a448e9ee3..3305c4a3e 100644 --- a/test/system/user_social_links_test.rb +++ b/test/system/profile_links_change_test.rb @@ -1,6 +1,6 @@ require "application_system_test_case" -class UserSocialLinksTest < ApplicationSystemTestCase +class ProfileLinksChangeTest < ApplicationSystemTestCase def setup stub_request(:get, /.*gravatar.com.*d=404/).to_return(:status => 404) diff --git a/test/system/user_location_change_test.rb b/test/system/profile_location_change_test.rb similarity index 92% rename from test/system/user_location_change_test.rb rename to test/system/profile_location_change_test.rb index 5e718e6f5..1c9a2ecdb 100644 --- a/test/system/user_location_change_test.rb +++ b/test/system/profile_location_change_test.rb @@ -1,6 +1,6 @@ require "application_system_test_case" -class UserLocationChangeTest < ApplicationSystemTestCase +class ProfileLocationChangeTest < ApplicationSystemTestCase def setup stub_request(:get, /.*gravatar.com.*d=404/).to_return(:status => 404) end -- 2.39.5