Commit 23b90272 authored by Elan Ruusamäe's avatar Elan Ruusamäe Committed by Sean McGivern

improve wording by using successful instead of ok

parent f8e64aa2
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment