From df3c20ff7f071225a0992bafa98f9f8abe7bef8a Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Fri, 10 Feb 2023 11:30:13 +0100 Subject: [PATCH] fix test --- test/controllers/server/websites_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers/server/websites_controller_test.rb b/test/controllers/server/websites_controller_test.rb index 09a0fb6cd..a05c068eb 100644 --- a/test/controllers/server/websites_controller_test.rb +++ b/test/controllers/server/websites_controller_test.rb @@ -9,7 +9,7 @@ class Server::WebsitesControllerTest < ActionDispatch::IntegrationTest end def test_refresh - post(refresh_server_website_path(communication_websites(:website_with_github))) + post(refresh_server_website_path(communication_websites(:website_with_github)), xhr: true) assert_response(:success) end end -- GitLab