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
71046cc6
Commit
71046cc6
authored
Aug 11, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mock
parent
0a9d9f7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/models/merge_request_spec.rb
spec/models/merge_request_spec.rb
+2
-2
No files found.
spec/models/merge_request_spec.rb
View file @
71046cc6
...
@@ -463,8 +463,8 @@ describe MergeRequest, models: true do
...
@@ -463,8 +463,8 @@ describe MergeRequest, models: true do
allow
(
subject
).
to
receive
(
:diff_head_sha
).
and_return
(
'123abc'
)
allow
(
subject
).
to
receive
(
:diff_head_sha
).
and_return
(
'123abc'
)
expect
(
subject
.
source_project
).
to
receive
(
:pipeline
).
expect
(
subject
.
source_project
).
to
receive
(
:pipeline
_for
).
with
(
'
123abc'
,
'master
'
).
with
(
'
master'
,
'123abc
'
).
and_return
(
pipeline
)
and_return
(
pipeline
)
expect
(
subject
.
pipeline
).
to
eq
(
pipeline
)
expect
(
subject
.
pipeline
).
to
eq
(
pipeline
)
...
...
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