added VCR and specs for original fetcher

This commit is contained in:
Andrew Waage
2016-05-19 12:05:18 -07:00
committed by Olle Jonsson
parent df64ab5ba1
commit 8277aa4319
11 changed files with 827 additions and 22 deletions
+1 -1
View File
@@ -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