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
4c91d7db
Commit
4c91d7db
authored
Aug 08, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts in spec/services/notes/create_service_spec.rb
parent
24cfda9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
spec/services/notes/create_service_spec.rb
spec/services/notes/create_service_spec.rb
+0
-7
No files found.
spec/services/notes/create_service_spec.rb
View file @
4c91d7db
...
...
@@ -145,15 +145,8 @@ describe Notes::CreateService do
let
(
:note_text
)
{
%(HELLO\n/close\n/assign @#{user.username}\nWORLD)
}
it
'saves the note and does not alter the note text'
do
<<<<<<<
HEAD
service
=
instance_double
(
'Issues::UpdateService'
,
:service
)
allow
(
Issues
::
UpdateService
).
to
receive
(
:new
).
and_return
(
service
)
=======
service
=
double
(
:service
)
allow
(
Issues
::
UpdateService
).
to
receive
(
:new
).
and_return
(
service
)
>>>>>>>
upstream
/
master
expect
(
service
).
to
receive
(
:execute
)
note
=
described_class
.
new
(
project
,
user
,
opts
.
merge
(
note:
note_text
)).
execute
...
...
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