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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
a64d881b
Commit
a64d881b
authored
Feb 05, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed spec - at last!
parent
c3ed268a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
spec/services/system_note_service_spec.rb
spec/services/system_note_service_spec.rb
+2
-3
No files found.
spec/services/system_note_service_spec.rb
View file @
a64d881b
...
...
@@ -428,15 +428,14 @@ describe SystemNoteService, services: true do
context
'commit from fork'
do
let
(
:author2
)
{
create
(
:user
)
}
let
(
:forked_project
)
{
Projects
::
ForkService
.
new
(
project
,
author2
).
execute
}
let
(
:service
)
{
CreateCommitBuildsService
.
new
}
let
(
:commit2
)
{
forked_project
.
commit
}
before
do
described_class
.
cross_reference
(
commit0
,
commit2
,
author2
)
described_class
.
cross_reference
(
noteable
,
commit2
,
author2
)
end
it
'is falsey when is a fork mentioning an external issue'
do
expect
(
described_class
.
cross_reference_exists?
(
commit0
,
commit2
)).
expect
(
described_class
.
cross_reference_exists?
(
noteable
,
commit2
)).
to
be_falsey
end
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