We don't care about the return value now

This commit is contained in:
Lin Jen-Shin 2017-01-26 21:18:04 +08:00
parent 05f4e48a4c
commit d475fa0946
1 changed files with 1 additions and 1 deletions

View File

@ -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