Skip to content
Snippets Groups Projects
Commit dc713897 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Remove superfluous tags in RSpec examples


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 3a1b9c6a
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'
require 'rainbow/ext/string'
 
describe 'seed production settings', lib: true do
describe 'seed production settings' do
include StubENV
let(:settings_file) { Rails.root.join('db/fixtures/production/010_settings.rb') }
let(:settings) { Gitlab::CurrentSettings.current_application_settings }
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'
 
describe 'Admin::AuditLogs', feature: true, js: true do
describe 'Admin::AuditLogs', :js do
include Select2Helper
 
let(:user) { create(:user) }
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'
 
describe "Admin::Emails", feature: true, js: true do
describe "Admin::Emails", :js do
let!(:current_user) { create(:admin) }
let!(:group) { create(:group) }
let!(:project) { create(:project, namespace: group) }
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'
 
feature "License Admin", feature: true do
feature "License Admin" do
before do
sign_in(create(:admin))
end
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
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