Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
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
nexedi
gitlab-shell
Commits
23b90272
Commit
23b90272
authored
Nov 16, 2016
by
Elan Ruusamäe
Committed by
Sean McGivern
Dec 01, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve wording by using successful instead of ok
parent
f8e64aa2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/gitlab_custom_hook_spec.rb
spec/gitlab_custom_hook_spec.rb
+4
-4
No files found.
spec/gitlab_custom_hook_spec.rb
View file @
23b90272
...
@@ -82,7 +82,7 @@ describe GitlabCustomHook do
...
@@ -82,7 +82,7 @@ describe GitlabCustomHook do
end
end
end
end
context
"having only
ok
repo hooks"
do
context
"having only
successful
repo hooks"
do
before
do
before
do
create_repo_hooks
(
tmp_repo_path
,
hook_ok
)
create_repo_hooks
(
tmp_repo_path
,
hook_ok
)
end
end
...
@@ -94,7 +94,7 @@ describe GitlabCustomHook do
...
@@ -94,7 +94,7 @@ describe GitlabCustomHook do
end
end
end
end
context
"having both
ok
repo and global hooks"
do
context
"having both
successful
repo and global hooks"
do
before
do
before
do
create_repo_hooks
(
tmp_repo_path
,
hook_ok
)
create_repo_hooks
(
tmp_repo_path
,
hook_ok
)
create_global_hooks_d
(
tmp_root_path
,
hook_ok
)
create_global_hooks_d
(
tmp_root_path
,
hook_ok
)
...
@@ -107,7 +107,7 @@ describe GitlabCustomHook do
...
@@ -107,7 +107,7 @@ describe GitlabCustomHook do
end
end
end
end
context
"having failing repo and
ok
global hooks"
do
context
"having failing repo and
successful
global hooks"
do
before
do
before
do
create_repo_hooks_d
(
tmp_repo_path
,
hook_fail
)
create_repo_hooks_d
(
tmp_repo_path
,
hook_fail
)
create_global_hooks_d
(
tmp_repo_path
,
hook_ok
)
create_global_hooks_d
(
tmp_repo_path
,
hook_ok
)
...
@@ -136,7 +136,7 @@ describe GitlabCustomHook do
...
@@ -136,7 +136,7 @@ describe GitlabCustomHook do
end
end
end
end
context
"having
ok
repo but failing global hooks"
do
context
"having
successful
repo but failing global hooks"
do
before
do
before
do
create_repo_hooks_d
(
tmp_repo_path
,
hook_ok
)
create_repo_hooks_d
(
tmp_repo_path
,
hook_ok
)
create_global_hooks_d
(
tmp_repo_path
,
hook_fail
)
create_global_hooks_d
(
tmp_repo_path
,
hook_fail
)
...
...
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