Appease rubocop.

This commit is contained in:
Timothy Andrew 2016-07-05 08:55:46 +05:30 committed by Timothy Andrew
parent dffdc7b27c
commit 4d00ed21eb
2 changed files with 0 additions and 2 deletions

View File

@ -108,7 +108,6 @@ module Gitlab
actor if actor.is_a?(DeployKey)
end
def deploy_key_can_read_project?
if deploy_key
deploy_key.projects.include?(project)

View File

@ -128,7 +128,6 @@ describe Gitlab::GitAccess, lib: true do
rugged = project.repository.rugged
author = { email: "email@example.com", time: Time.now, name: "Example Git User" }
merge_index = rugged.merge_commits(target_branch, source_branch)
Rugged::Commit.create(rugged, author: author, committer: author, message: "commit message", parents: [target_branch, source_branch], tree: merge_index.write_tree(rugged))
end