debian-mirror-gitlab/spec/controllers/admin/gitaly_servers_controller_spec.rb
2020-06-23 00:09:42 +05:30

17 lines
312 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Admin::GitalyServersController do
describe '#index' do
before do
sign_in(create(:admin))
end
it 'shows the gitaly servers page' do
get :index
expect(response).to have_gitlab_http_status(:ok)
end
end
end