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
25c93023
Commit
25c93023
authored
Apr 22, 2021
by
Huzaifa Iftikhar
Committed by
Bob Van Landuyt
Apr 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix EmptyLineAfterFinalLetItBe offenses in spec/models/wiki_page
parent
468b221d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-2
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-models-wiki-page.yml
...25836-fix-empty-line-after-let-it-be-models-wiki-page.yml
+5
-0
spec/models/wiki_page/meta_spec.rb
spec/models/wiki_page/meta_spec.rb
+2
-0
spec/models/wiki_page_spec.rb
spec/models/wiki_page_spec.rb
+1
-0
No files found.
.rubocop_manual_todo.yml
View file @
25c93023
...
@@ -684,8 +684,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
...
@@ -684,8 +684,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
-
spec/models/terraform/state_spec.rb
-
spec/models/terraform/state_spec.rb
-
spec/models/u2f_registration_spec.rb
-
spec/models/u2f_registration_spec.rb
-
spec/models/user_spec.rb
-
spec/models/user_spec.rb
-
spec/models/wiki_page/meta_spec.rb
-
spec/models/wiki_page_spec.rb
-
spec/requests/api/api_spec.rb
-
spec/requests/api/api_spec.rb
-
spec/requests/api/award_emoji_spec.rb
-
spec/requests/api/award_emoji_spec.rb
-
spec/requests/api/branches_spec.rb
-
spec/requests/api/branches_spec.rb
...
...
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-models-wiki-page.yml
0 → 100644
View file @
25c93023
---
title
:
Fix EmptyLineAfterFinalLetItBe offenses in spec/models/wiki_page
merge_request
:
58388
author
:
Huzaifa Iftikhar @huzaifaiftikhar
type
:
fixed
spec/models/wiki_page/meta_spec.rb
View file @
25c93023
...
@@ -124,6 +124,7 @@ RSpec.describe WikiPage::Meta do
...
@@ -124,6 +124,7 @@ RSpec.describe WikiPage::Meta do
context
'the slug is already in the DB (but not canonical)'
do
context
'the slug is already in the DB (but not canonical)'
do
let_it_be
(
:slug_record
)
{
create
(
:wiki_page_slug
,
wiki_page_meta:
meta
)
}
let_it_be
(
:slug_record
)
{
create
(
:wiki_page_slug
,
wiki_page_meta:
meta
)
}
let
(
:slug
)
{
slug_record
.
slug
}
let
(
:slug
)
{
slug_record
.
slug
}
let
(
:query_limit
)
{
4
}
let
(
:query_limit
)
{
4
}
...
@@ -132,6 +133,7 @@ RSpec.describe WikiPage::Meta do
...
@@ -132,6 +133,7 @@ RSpec.describe WikiPage::Meta do
context
'the slug is already in the DB (and canonical)'
do
context
'the slug is already in the DB (and canonical)'
do
let_it_be
(
:slug_record
)
{
create
(
:wiki_page_slug
,
:canonical
,
wiki_page_meta:
meta
)
}
let_it_be
(
:slug_record
)
{
create
(
:wiki_page_slug
,
:canonical
,
wiki_page_meta:
meta
)
}
let
(
:slug
)
{
slug_record
.
slug
}
let
(
:slug
)
{
slug_record
.
slug
}
let
(
:query_limit
)
{
4
}
let
(
:query_limit
)
{
4
}
...
...
spec/models/wiki_page_spec.rb
View file @
25c93023
...
@@ -640,6 +640,7 @@ RSpec.describe WikiPage do
...
@@ -640,6 +640,7 @@ RSpec.describe WikiPage do
let_it_be
(
:existing_page
)
{
create_wiki_page
(
title:
'test page'
)
}
let_it_be
(
:existing_page
)
{
create_wiki_page
(
title:
'test page'
)
}
let_it_be
(
:directory_page
)
{
create_wiki_page
(
title:
'parent directory/child page'
)
}
let_it_be
(
:directory_page
)
{
create_wiki_page
(
title:
'parent directory/child page'
)
}
let_it_be
(
:page_with_special_characters
)
{
create_wiki_page
(
title:
'test+page'
)
}
let_it_be
(
:page_with_special_characters
)
{
create_wiki_page
(
title:
'test+page'
)
}
let
(
:untitled_page
)
{
described_class
.
new
(
wiki
)
}
let
(
:untitled_page
)
{
described_class
.
new
(
wiki
)
}
where
(
:page
,
:title
,
:changed
)
do
where
(
:page
,
:title
,
:changed
)
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