Commit e6a0b53d authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'rspec-empty-line-after-letitbe-ee-spec-features-groups' into 'master'

Fix RSpec/EmptyLineAfterFinalLetItBe for ee/spec/features/groups

See merge request gitlab-org/gitlab!58398
parents c05a065b ee854188
...@@ -384,10 +384,6 @@ RSpec/EmptyLineAfterFinalLetItBe: ...@@ -384,10 +384,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
Exclude: Exclude:
- ee/spec/controllers/subscriptions_controller_spec.rb - ee/spec/controllers/subscriptions_controller_spec.rb
- ee/spec/features/ci_shared_runner_warnings_spec.rb - ee/spec/features/ci_shared_runner_warnings_spec.rb
- ee/spec/features/groups/groups_security_credentials_spec.rb
- ee/spec/features/groups/hooks/user_edits_hooks_spec.rb
- ee/spec/features/groups/iterations/user_edits_iteration_spec.rb
- ee/spec/features/groups/usage_quotas_spec.rb
- ee/spec/features/integrations/jira/jira_issues_list_spec.rb - ee/spec/features/integrations/jira/jira_issues_list_spec.rb
- ee/spec/features/issues/bulk_assignment_epic_spec.rb - ee/spec/features/issues/bulk_assignment_epic_spec.rb
- ee/spec/features/issues/user_uses_quick_actions_spec.rb - ee/spec/features/issues/user_uses_quick_actions_spec.rb
......
---
title: Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in ee/spec/features/groups
merge_request: 58398
author: Abdul Wadood @abdulwd
type: fixed
...@@ -7,6 +7,7 @@ RSpec.describe 'Groups::Security::Credentials' do ...@@ -7,6 +7,7 @@ RSpec.describe 'Groups::Security::Credentials' do
let_it_be(:group_with_managed_accounts) { create(:group_with_managed_accounts, :private) } let_it_be(:group_with_managed_accounts) { create(:group_with_managed_accounts, :private) }
let_it_be(:managed_user) { create(:user, :group_managed, managing_group: group_with_managed_accounts, name: 'abc') } let_it_be(:managed_user) { create(:user, :group_managed, managing_group: group_with_managed_accounts, name: 'abc') }
let(:group_id) { group_with_managed_accounts.to_param } let(:group_id) { group_with_managed_accounts.to_param }
before do before do
......
...@@ -6,6 +6,7 @@ RSpec.describe 'User edits hooks' do ...@@ -6,6 +6,7 @@ RSpec.describe 'User edits hooks' do
let_it_be(:group) { create(:group) } let_it_be(:group) { create(:group) }
let_it_be(:hook) { create(:group_hook, group: group) } let_it_be(:hook) { create(:group_hook, group: group) }
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
let(:url) { 'http://example.org/new' } let(:url) { 'http://example.org/new' }
before do before do
......
...@@ -8,6 +8,7 @@ RSpec.describe 'User views iteration' do ...@@ -8,6 +8,7 @@ RSpec.describe 'User views iteration' do
let_it_be(:user) { create(:group_member, :maintainer, user: create(:user), group: group ).user } let_it_be(:user) { create(:group_member, :maintainer, user: create(:user), group: group ).user }
let_it_be(:guest_user) { create(:group_member, :guest, user: create(:user), group: group ).user } let_it_be(:guest_user) { create(:group_member, :guest, user: create(:user), group: group ).user }
let_it_be(:iteration) { create(:iteration, :skip_future_date_validation, group: group, title: 'Correct Iteration', description: 'Iteration description', start_date: now - 1.day, due_date: now) } let_it_be(:iteration) { create(:iteration, :skip_future_date_validation, group: group, title: 'Correct Iteration', description: 'Iteration description', start_date: now - 1.day, due_date: now) }
dropdown_selector = '[data-testid="actions-dropdown"]' dropdown_selector = '[data-testid="actions-dropdown"]'
context 'with license' do context 'with license' do
......
...@@ -4,6 +4,7 @@ require 'spec_helper' ...@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe 'Groups > Usage Quotas' do RSpec.describe 'Groups > Usage Quotas' do
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
let(:group) { create(:group) } let(:group) { create(:group) }
let!(:project) { create(:project, namespace: group, shared_runners_enabled: true) } let!(:project) { create(:project, namespace: group, shared_runners_enabled: true) }
let(:gitlab_dot_com) { true } let(:gitlab_dot_com) { true }
......
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