added VCR and specs for original fetcher
This commit is contained in:
committed by
Olle Jonsson
parent
4ecb21c0b0
commit
e494fc004e
@@ -220,7 +220,7 @@ Make sure, that you push tags to remote repo via 'git push --tags'"
|
||||
# Fetch commit for specified event
|
||||
# @return [Hash]
|
||||
def fetch_commit(event)
|
||||
@github.git_data.commits.get @options[:user], @options[:project], event[:commit_id]
|
||||
@github.git_data.commits.get @options[:user], @options[:project], event['commit_id']
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user