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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
76d61840
Commit
76d61840
authored
Jun 07, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix markdown_spec to not use `before(:all)` in order to properly cleanup database after testing
parent
5b83abcc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG
CHANGELOG
+1
-0
spec/features/markdown_spec.rb
spec/features/markdown_spec.rb
+2
-2
No files found.
CHANGELOG
View file @
76d61840
...
...
@@ -37,6 +37,7 @@ v 8.9.0 (unreleased)
- Add Application Setting to configure Container Registry token expire delay (default 5min)
- Cache assigned issue and merge request counts in sidebar nav
- Cache project build count in sidebar nav
- Fix markdown_spec to use before instead of before(:all) to properly cleanup database after testing
- Reduce number of queries needed to render issue labels in the sidebar
- Improve error handling importing projects
- Remove duplicated notification settings
...
...
spec/features/markdown_spec.rb
View file @
76d61840
...
...
@@ -180,7 +180,7 @@ describe 'GitLab Markdown', feature: true do
end
end
before
(
:all
)
do
before
do
@feat
=
MarkdownFeature
.
new
# `markdown` helper expects a `@project` variable
...
...
@@ -188,7 +188,7 @@ describe 'GitLab Markdown', feature: true do
end
context
'default pipeline'
do
before
(
:all
)
do
before
do
@html
=
markdown
(
@feat
.
raw_markdown
)
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