Skip to content
Snippets Groups Projects
Commit 7e113b68 authored by Keifer Furzland's avatar Keifer Furzland Committed by Rémy Coutable
Browse files

Remove superfluous type defs in specs


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 4eebd8e1
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
require 'rails_helper'
 
describe SentNotificationsController, type: :controller do
describe SentNotificationsController do
let(:user) { create(:user) }
let(:project) { create(:empty_project) }
let(:sent_notification) { create(:sent_notification, project: project, noteable: issue, recipient: user) }
Loading
Loading
require 'spec_helper'
 
feature 'Abuse reports', feature: true do
feature 'Abuse reports' do
let(:another_user) { create(:user) }
 
before do
Loading
Loading
require 'spec_helper'
 
describe "Admin::AbuseReports", feature: true, js: true do
describe "Admin::AbuseReports", js: true do
let(:user) { create(:user) }
 
context 'as an admin' do
Loading
Loading
require 'spec_helper'
 
feature 'Admin Appearance', feature: true do
feature 'Admin Appearance' do
let!(:appearance) { create(:appearance) }
 
scenario 'Create new appearance' do
Loading
Loading
require 'spec_helper'
 
feature 'Admin Broadcast Messages', feature: true do
feature 'Admin Broadcast Messages' do
before do
sign_in(create(:admin))
create(:broadcast_message, :expired, message: 'Migration to new server')
Loading
Loading
require 'rails_helper'
 
feature 'Admin cohorts page', feature: true do
feature 'Admin cohorts page' do
before do
sign_in(create(:admin))
end
Loading
Loading
require 'spec_helper'
 
RSpec.describe 'admin deploy keys', type: :feature do
RSpec.describe 'admin deploy keys' do
let!(:deploy_key) { create(:deploy_key, public: true) }
let!(:another_deploy_key) { create(:another_deploy_key, public: true) }
 
Loading
Loading
require 'rails_helper'
 
feature 'Admin disables Git access protocol', feature: true do
feature 'Admin disables Git access protocol' do
include StubENV
 
let(:project) { create(:empty_project, :empty_repo) }
Loading
Loading
require 'rails_helper'
 
feature 'Admin disables 2FA for a user', feature: true do
feature 'Admin disables 2FA for a user' do
scenario 'successfully', js: true do
sign_in(create(:admin))
user = create(:user, :two_factor)
Loading
Loading
require 'spec_helper'
 
feature 'Admin Groups', feature: true do
feature 'Admin Groups' do
include Select2Helper
 
let(:internal) { Gitlab::VisibilityLevel::INTERNAL }
Loading
Loading
require 'spec_helper'
 
feature "Admin Health Check", feature: true do
feature "Admin Health Check" do
include StubENV
 
before do
Loading
Loading
require 'spec_helper'
 
feature 'Admin::HookLogs', feature: true do
feature 'Admin::HookLogs' do
let(:project) { create(:project) }
let(:system_hook) { create(:system_hook) }
let(:hook_log) { create(:web_hook_log, web_hook: system_hook, internal_error_message: 'some error') }
Loading
Loading
require 'spec_helper'
 
describe 'Admin::Hooks', feature: true do
describe 'Admin::Hooks' do
before do
@project = create(:project)
sign_in(create(:admin))
Loading
Loading
require 'spec_helper'
 
RSpec.describe 'admin manage applications', feature: true do
RSpec.describe 'admin manage applications' do
before do
sign_in(create(:admin))
end
Loading
Loading
require 'spec_helper'
 
describe "Admin::Projects", feature: true do
describe "Admin::Projects" do
include Select2Helper
 
let(:user) { create :user }
Loading
Loading
require 'spec_helper'
 
describe 'Admin::RequestsProfilesController', feature: true do
describe 'Admin::RequestsProfilesController' do
before do
FileUtils.mkdir_p(Gitlab::RequestProfiler::PROFILES_DIR)
sign_in(create(:admin))
Loading
Loading
require 'spec_helper'
 
feature 'Admin updates settings', feature: true do
feature 'Admin updates settings' do
include StubENV
 
before do
Loading
Loading
require 'spec_helper'
 
describe 'Admin > Users > Impersonation Tokens', feature: true, js: true do
describe 'Admin > Users > Impersonation Tokens', js: true do
let(:admin) { create(:admin) }
let!(:user) { create(:user) }
 
Loading
Loading
require 'spec_helper'
 
describe "Admin::Users", feature: true do
describe "Admin::Users" do
let!(:user) do
create(:omniauth_user, provider: 'twitter', extern_uid: '123456')
end
Loading
Loading
require 'rails_helper'
 
feature 'Admin uses repository checks', feature: true do
feature 'Admin uses repository checks' do
include StubENV
 
before do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment