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 4ecb21c0b0
commit e494fc004e
12 changed files with 829 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