summaryrefslogtreecommitdiff
path: root/spec/services
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-01-26 21:18:04 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-01-26 21:18:04 +0800
commitd475fa094689a6319fa60f2532898234979e30d3 (patch)
tree6eb208ba04677bdcf63edc59b0d30aaa3565f978 /spec/services
parent05f4e48a4c761e13faf080e2d33fb8cc9886f723 (diff)
downloadgitlab-ce-d475fa094689a6319fa60f2532898234979e30d3.tar.gz
We don't care about the return value now
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/git_hooks_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/git_hooks_service_spec.rb b/spec/services/git_hooks_service_spec.rb
index 41b0968b8b4..3318dfb22b6 100644
--- a/spec/services/git_hooks_service_spec.rb
+++ b/spec/services/git_hooks_service_spec.rb
@@ -21,7 +21,7 @@ describe GitHooksService, services: true do
hook = double(trigger: [true, nil])
expect(Gitlab::Git::Hook).to receive(:new).exactly(3).times.and_return(hook)
- expect(service.execute(user, @repo_path, @blankrev, @newrev, @ref) { }).to eq([true, nil])
+ service.execute(user, @repo_path, @blankrev, @newrev, @ref) { }
end
end