summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe <glen@delfi.ee>2016-11-16 02:14:28 +0200
committerSean McGivern <sean@gitlab.com>2016-12-01 11:40:11 +0000
commit23b90272acc4bcd0c12e4127c0697ede620e503a (patch)
treeb7e53ac0222381db2d5af8367d91da2da15de669
parentf8e64aa2baa7fa30be43ab6759233d4082be9f5d (diff)
downloadgitlab-shell-23b90272acc4bcd0c12e4127c0697ede620e503a.tar.gz
improve wording by using successful instead of ok
-rw-r--r--spec/gitlab_custom_hook_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/gitlab_custom_hook_spec.rb b/spec/gitlab_custom_hook_spec.rb
index d91690f..0718f16 100644
--- a/spec/gitlab_custom_hook_spec.rb
+++ b/spec/gitlab_custom_hook_spec.rb
@@ -82,7 +82,7 @@ describe GitlabCustomHook do
end
end
- context "having only ok repo hooks" do
+ context "having only successful repo hooks" do
before do
create_repo_hooks(tmp_repo_path, hook_ok)
end
@@ -94,7 +94,7 @@ describe GitlabCustomHook do
end
end
- context "having both ok repo and global hooks" do
+ context "having both successful repo and global hooks" do
before do
create_repo_hooks(tmp_repo_path, hook_ok)
create_global_hooks_d(tmp_root_path, hook_ok)
@@ -107,7 +107,7 @@ describe GitlabCustomHook do
end
end
- context "having failing repo and ok global hooks" do
+ context "having failing repo and successful global hooks" do
before do
create_repo_hooks_d(tmp_repo_path, hook_fail)
create_global_hooks_d(tmp_repo_path, hook_ok)
@@ -136,7 +136,7 @@ describe GitlabCustomHook do
end
end
- context "having ok repo but failing global hooks" do
+ context "having successful repo but failing global hooks" do
before do
create_repo_hooks_d(tmp_repo_path, hook_ok)
create_global_hooks_d(tmp_repo_path, hook_fail)