Commit eb5d73ad authored by Dmytro Zaporozhets (DZ)'s avatar Dmytro Zaporozhets (DZ)

Merge branch 'epic-5076-spec/controllers/runner_setup_controller_spec.rb' into 'master'

Migrate runner_setup_controller_spec.rb to request spec

See merge request gitlab-org/gitlab!50600
parents 05e83bfe b0d6aeaf
---
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