Commit b0d6aeaf authored by Takuya Noguchi's avatar Takuya Noguchi

Migrate runner_setup_controller_spec.rb to request spec

Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent d0428012
---
title: Migrate runner_setup_controller_spec.rb to request spec
merge_request: 50600
author: Takuya Noguchi
type: other
...@@ -9,9 +9,9 @@ RSpec.describe RunnerSetupController do ...@@ -9,9 +9,9 @@ RSpec.describe RunnerSetupController do
sign_in(user) sign_in(user)
end end
describe 'GET #platforms' do describe 'GET /-/runner_setup/platforms' do
it 'renders the platforms' do it 'renders the platforms' do
get :platforms get runner_setup_platforms_url
expect(response).to have_gitlab_http_status(:ok) expect(response).to have_gitlab_http_status(:ok)
expect(json_response).to have_key("windows") expect(json_response).to have_key("windows")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment