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
8476aa71
Commit
8476aa71
authored
Apr 06, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts in spec/lib/gitlab/git_access_spec.rb
parent
e809bbc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/lib/gitlab/git_access_spec.rb
spec/lib/gitlab/git_access_spec.rb
+3
-3
No files found.
spec/lib/gitlab/git_access_spec.rb
View file @
8476aa71
...
@@ -977,7 +977,6 @@ describe Gitlab::GitAccess do
...
@@ -977,7 +977,6 @@ describe Gitlab::GitAccess do
end
end
end
end
<<<<<<<
HEAD
describe
"push_rule_check"
do
describe
"push_rule_check"
do
let
(
:start_sha
)
{
'6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9'
}
let
(
:start_sha
)
{
'6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9'
}
let
(
:end_sha
)
{
'570e7b2abdd848b95f2f578043fc23bd6f6fd24d'
}
let
(
:end_sha
)
{
'570e7b2abdd848b95f2f578043fc23bd6f6fd24d'
}
...
@@ -1127,7 +1126,9 @@ describe Gitlab::GitAccess do
...
@@ -1127,7 +1126,9 @@ describe Gitlab::GitAccess do
expect
{
access
.
send
(
:check_push_access!
,
"
#{
start_sha
}
#{
end_sha
}
refs/heads/master"
)
}.
not_to
raise_error
expect
{
access
.
send
(
:check_push_access!
,
"
#{
start_sha
}
#{
end_sha
}
refs/heads/master"
)
}.
not_to
raise_error
end
end
=======
end
end
context
'when pushing to a project'
do
context
'when pushing to a project'
do
let
(
:project
)
{
create
(
:project
,
:public
,
:repository
)
}
let
(
:project
)
{
create
(
:project
,
:public
,
:repository
)
}
let
(
:changes
)
{
"
#{
Gitlab
::
Git
::
BLANK_SHA
}
570e7b2ab refs/heads/wow"
}
let
(
:changes
)
{
"
#{
Gitlab
::
Git
::
BLANK_SHA
}
570e7b2ab refs/heads/wow"
}
...
@@ -1139,7 +1140,6 @@ describe Gitlab::GitAccess do
...
@@ -1139,7 +1140,6 @@ describe Gitlab::GitAccess do
it
'cleans up the files'
do
it
'cleans up the files'
do
expect
(
project
.
repository
).
to
receive
(
:clean_stale_repository_files
).
and_call_original
expect
(
project
.
repository
).
to
receive
(
:clean_stale_repository_files
).
and_call_original
expect
{
push_access_check
}.
not_to
raise_error
expect
{
push_access_check
}.
not_to
raise_error
>>>>>>>
upstream
/
master
end
end
end
end
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