diff --git a/test/controllers/server/websites_controller_test.rb b/test/controllers/server/websites_controller_test.rb index 09a0fb6cd0d65a04f1b7c8f315ae246fad356ed8..a05c068ebd584e2133d8dafdd5fe095a34569fde 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