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
Boxiang Sun
gitlab-ce
Commits
082be091
Commit
082be091
authored
Sep 01, 2016
by
Sean McGivern
Committed by
Alfredo Sumaran
Oct 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix MR model spec
parent
241cca01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
spec/models/merge_request_spec.rb
spec/models/merge_request_spec.rb
+6
-6
No files found.
spec/models/merge_request_spec.rb
View file @
082be091
...
@@ -1155,12 +1155,6 @@ describe MergeRequest, models: true do
...
@@ -1155,12 +1155,6 @@ describe MergeRequest, models: true do
expect
(
merge_request
.
conflicts_can_be_resolved_in_ui?
).
to
be_falsey
expect
(
merge_request
.
conflicts_can_be_resolved_in_ui?
).
to
be_falsey
end
end
it
'returns a falsey value when the conflicts contain a file with ambiguous conflict markers'
do
merge_request
=
create_merge_request
(
'conflict-contains-conflict-markers'
)
expect
(
merge_request
.
conflicts_can_be_resolved_in_ui?
).
to
be_falsey
end
it
'returns a falsey value when the conflicts contain a file edited in one branch and deleted in another'
do
it
'returns a falsey value when the conflicts contain a file edited in one branch and deleted in another'
do
merge_request
=
create_merge_request
(
'conflict-missing-side'
)
merge_request
=
create_merge_request
(
'conflict-missing-side'
)
...
@@ -1172,6 +1166,12 @@ describe MergeRequest, models: true do
...
@@ -1172,6 +1166,12 @@ describe MergeRequest, models: true do
expect
(
merge_request
.
conflicts_can_be_resolved_in_ui?
).
to
be_truthy
expect
(
merge_request
.
conflicts_can_be_resolved_in_ui?
).
to
be_truthy
end
end
it
'returns a truthy value when the conflicts have to be resolved in an editor'
do
merge_request
=
create_merge_request
(
'conflict-contains-conflict-markers'
)
expect
(
merge_request
.
conflicts_can_be_resolved_in_ui?
).
to
be_truthy
end
end
end
describe
"#forked_source_project_missing?"
do
describe
"#forked_source_project_missing?"
do
...
...
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