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
a76ce8d9
Commit
a76ce8d9
authored
Mar 07, 2018
by
Zeger-Jan van de Weg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests not completely disabling Gitaly
parent
0136bbbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/models/repository_spec.rb
spec/models/repository_spec.rb
+3
-3
No files found.
spec/models/repository_spec.rb
View file @
a76ce8d9
...
...
@@ -1004,7 +1004,7 @@ describe Repository do
end
end
context
'with Gitaly disabled'
,
:
skip_gitaly_mock
do
context
'with Gitaly disabled'
,
:
disable_gitaly
do
context
'when pre hooks were successful'
do
it
'runs without errors'
do
hook
=
double
(
trigger:
[
true
,
nil
])
...
...
@@ -1896,7 +1896,7 @@ describe Repository do
it_behaves_like
'adding tag'
end
context
'when Gitaly operation_user_add_tag feature is disabled'
,
:
skip_gitaly_mock
do
context
'when Gitaly operation_user_add_tag feature is disabled'
,
:
disable_gitaly
do
it_behaves_like
'adding tag'
it
'passes commit SHA to pre-receive and update hooks and tag SHA to post-receive hook'
do
...
...
@@ -1955,7 +1955,7 @@ describe Repository do
end
end
context
'with gitaly disabled'
,
:
skip_gitaly_mock
do
context
'with gitaly disabled'
,
:
disable_gitaly
do
it_behaves_like
"user deleting a branch"
let
(
:old_rev
)
{
'0b4bc9a49b562e85de7cc9e834518ea6828729b9'
}
# git rev-parse feature
...
...
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