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
8b923083
Commit
8b923083
authored
Oct 28, 2021
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix remaining offenses for Rails/SaveBang in epic model spec
parent
758d5a37
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-1
ee/spec/models/epic_spec.rb
ee/spec/models/epic_spec.rb
+2
-3
No files found.
.rubocop_manual_todo.yml
View file @
8b923083
...
@@ -32,7 +32,6 @@ Rails/SaveBang:
...
@@ -32,7 +32,6 @@ Rails/SaveBang:
-
'
ee/spec/models/approval_project_rule_spec.rb'
-
'
ee/spec/models/approval_project_rule_spec.rb'
-
'
ee/spec/models/burndown_spec.rb'
-
'
ee/spec/models/burndown_spec.rb'
-
'
ee/spec/models/elasticsearch_indexed_namespace_spec.rb'
-
'
ee/spec/models/elasticsearch_indexed_namespace_spec.rb'
-
'
ee/spec/models/epic_spec.rb'
-
'
ee/spec/models/gitlab_subscription_spec.rb'
-
'
ee/spec/models/gitlab_subscription_spec.rb'
-
'
ee/spec/models/issue_spec.rb'
-
'
ee/spec/models/issue_spec.rb'
-
'
ee/spec/models/label_note_spec.rb'
-
'
ee/spec/models/label_note_spec.rb'
...
...
ee/spec/models/epic_spec.rb
View file @
8b923083
...
@@ -367,7 +367,7 @@ RSpec.describe Epic do
...
@@ -367,7 +367,7 @@ RSpec.describe Epic do
let_it_be
(
:epic1
)
{
create
(
:epic
,
group:
group
)
}
let_it_be
(
:epic1
)
{
create
(
:epic
,
group:
group
)
}
before
do
before
do
epic2
.
update
(
parent_id:
epic1
.
id
)
epic2
.
update
!
(
parent_id:
epic1
.
id
)
end
end
describe
'#ancestors'
do
describe
'#ancestors'
do
...
@@ -714,8 +714,7 @@ RSpec.describe Epic do
...
@@ -714,8 +714,7 @@ RSpec.describe Epic do
end
end
before
do
before
do
epic
.
description
=
ref_text
epic
.
update!
(
description:
ref_text
)
epic
.
save
end
end
it
'creates new system notes for cross references'
do
it
'creates new system notes for cross references'
do
...
...
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