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
63ccf9d5
Commit
63ccf9d5
authored
Apr 01, 2020
by
Rajendra Kadam
Committed by
Peter Leitzen
Apr 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add receive stub for wiki specs
parent
dac155c4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
.rubocop.yml
.rubocop.yml
+0
-1
changelogs/unreleased/refator-wiki-page.yml
changelogs/unreleased/refator-wiki-page.yml
+5
-0
spec/models/wiki_page_spec.rb
spec/models/wiki_page_spec.rb
+2
-0
No files found.
.rubocop.yml
View file @
63ccf9d5
...
...
@@ -412,7 +412,6 @@ RSpec/RepeatedExample:
-
'
spec/models/concerns/issuable_spec.rb'
-
'
spec/models/member_spec.rb'
-
'
spec/models/project_services/chat_message/pipeline_message_spec.rb'
-
'
spec/models/wiki_page_spec.rb'
-
'
spec/routing/admin_routing_spec.rb'
-
'
spec/rubocop/cop/migration/update_large_table_spec.rb'
-
'
spec/services/notification_service_spec.rb'
...
...
changelogs/unreleased/refator-wiki-page.yml
0 → 100644
View file @
63ccf9d5
---
title
:
Refactor duplicate specs in wiki page specs
merge_request
:
28551
author
:
Rajendra Kadam
type
:
added
spec/models/wiki_page_spec.rb
View file @
63ccf9d5
...
...
@@ -577,6 +577,8 @@ describe WikiPage do
end
it
'returns false when version is nil'
do
expect
(
latest_page
).
to
receive
(
:version
)
{
nil
}
expect
(
latest_page
.
historical?
).
to
be_falsy
end
...
...
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