diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-01-26 16:18:04 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-01-26 16:18:04 +0300 |
commit | d475fa094689a6319fa60f2532898234979e30d3 (patch) | |
tree | 6eb208ba04677bdcf63edc59b0d30aaa3565f978 /spec/services/git_hooks_service_spec.rb | |
parent | 05f4e48a4c761e13faf080e2d33fb8cc9886f723 (diff) |
We don't care about the return value now
Diffstat (limited to 'spec/services/git_hooks_service_spec.rb')
-rw-r--r-- | spec/services/git_hooks_service_spec.rb | 2 |
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 |