diff --git a/test/controllers/server/websites_controller_test.rb b/test/controllers/server/websites_controller_test.rb
index a05c068ebd584e2133d8dafdd5fe095a34569fde..fafbc2bfb2e4b2a02f075a5f1e0ba5b13fbbbba1 100644
--- a/test/controllers/server/websites_controller_test.rb
+++ b/test/controllers/server/websites_controller_test.rb
@@ -8,8 +8,8 @@ class Server::WebsitesControllerTest < ActionDispatch::IntegrationTest
     assert_response(:success)
   end
 
-  def test_refresh
-    post(refresh_server_website_path(communication_websites(:website_with_github)), xhr: true)
+  def test_sync_theme
+    post(sync_theme_server_website_path(communication_websites(:website_with_github)), xhr: true)
     assert_response(:success)
   end
 end