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
52b0d3a4
Commit
52b0d3a4
authored
May 24, 2019
by
egrieff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in test
parent
31e89f64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/services/issuable/clone/content_rewriter_spec.rb
spec/services/issuable/clone/content_rewriter_spec.rb
+2
-2
No files found.
spec/services/issuable/clone/content_rewriter_spec.rb
View file @
52b0d3a4
...
@@ -150,12 +150,12 @@ describe Issuable::Clone::ContentRewriter do
...
@@ -150,12 +150,12 @@ describe Issuable::Clone::ContentRewriter do
end
end
end
end
context
'notes with upload
s
'
do
context
'notes with upload'
do
let
(
:uploader
)
{
build
(
:file_uploader
,
project:
project1
)
}
let
(
:uploader
)
{
build
(
:file_uploader
,
project:
project1
)
}
let
(
:text
)
{
"Simple text with image:
#{
uploader
.
markdown_link
}
"
}
let
(
:text
)
{
"Simple text with image:
#{
uploader
.
markdown_link
}
"
}
let!
(
:note
)
{
create
(
:note
,
noteable:
original_issue
,
note:
text
,
project:
project1
)
}
let!
(
:note
)
{
create
(
:note
,
noteable:
original_issue
,
note:
text
,
project:
project1
)
}
it
'rewrites note content correc
lt
y'
do
it
'rewrites note content correc
tl
y'
do
subject
.
execute
subject
.
execute
new_note
=
new_issue
.
notes
.
first
new_note
=
new_issue
.
notes
.
first
...
...
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