Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
831e84a6
Commit
831e84a6
authored
Apr 09, 2021
by
Abdul Wadood
Committed by
Markus Koller
Apr 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RSpec/EmptyLineAfterFinalLetItBe for ee/spec/features/projects
parent
0e462768
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-3
ee/changelogs/unreleased/rspec-empty-lines-after-letitbe-ee-spec-features-projects.yml
...c-empty-lines-after-letitbe-ee-spec-features-projects.yml
+5
-0
ee/spec/features/projects/iterations/iterations_list_spec.rb
ee/spec/features/projects/iterations/iterations_list_spec.rb
+1
-0
ee/spec/features/projects/licenses/maintainer_views_policies_spec.rb
...tures/projects/licenses/maintainer_views_policies_spec.rb
+1
-0
No files found.
.rubocop_manual_todo.yml
View file @
831e84a6
...
...
@@ -526,9 +526,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
-
ee/spec/features/issues/bulk_assignment_epic_spec.rb
-
ee/spec/features/issues/user_uses_quick_actions_spec.rb
-
ee/spec/features/markdown/metrics_spec.rb
-
ee/spec/features/projects/issues/user_creates_issue_spec.rb
-
ee/spec/features/projects/iterations/iterations_list_spec.rb
-
ee/spec/features/projects/licenses/maintainer_views_policies_spec.rb
-
ee/spec/features/registrations/group_invites_during_signup_flow_spec.rb
-
ee/spec/features/subscriptions_spec.rb
-
ee/spec/finders/analytics/cycle_analytics/stage_finder_spec.rb
...
...
ee/changelogs/unreleased/rspec-empty-lines-after-letitbe-ee-spec-features-projects.yml
0 → 100644
View file @
831e84a6
---
title
:
Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in ee/spec/features/projects
merge_request
:
58395
author
:
Abdul Wadood @abdulwd
type
:
fixed
ee/spec/features/projects/iterations/iterations_list_spec.rb
View file @
831e84a6
...
...
@@ -7,6 +7,7 @@ RSpec.describe 'Iterations list', :js do
let_it_be
(
:group
)
{
create
(
:group
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:public
,
group:
group
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let!
(
:started_iteration
)
{
create
(
:iteration
,
:skip_future_date_validation
,
group:
group
,
start_date:
now
-
1
.
day
,
due_date:
now
,
title:
'Started iteration'
)
}
let!
(
:upcoming_iteration
)
{
create
(
:iteration
,
group:
group
,
start_date:
now
+
1
.
day
,
due_date:
now
+
2
.
days
)
}
let!
(
:closed_iteration
)
{
create
(
:closed_iteration
,
:skip_future_date_validation
,
group:
group
,
start_date:
now
-
3
.
days
,
due_date:
now
-
2
.
days
)
}
...
...
ee/spec/features/projects/licenses/maintainer_views_policies_spec.rb
View file @
831e84a6
...
...
@@ -29,6 +29,7 @@ RSpec.describe 'EE > Projects > Licenses > Maintainer views policies', :js do
let_it_be
(
:mit
)
{
create
(
:software_license
,
:mit
)
}
let_it_be
(
:mit_policy
)
{
create
(
:software_license_policy
,
:denied
,
software_license:
mit
,
project:
project
)
}
let_it_be
(
:pipeline
)
{
create
(
:ee_ci_pipeline
,
project:
project
,
builds:
[
create
(
:ee_ci_build
,
:license_scan_v2
,
:success
)])
}
let
(
:report
)
{
Gitlab
::
Json
.
parse
(
fixture_file
(
'security_reports/gl-license-scanning-report-v2.json'
,
dir:
'ee'
))
}
let
(
:known_licenses
)
{
report
[
'licenses'
].
find_all
{
|
license
|
license
[
'url'
].
present?
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment