'Verify the request for updating a file\'s contents on a repository.'

def test_update(self):

    data = {'message': 'Updating    content    files.', 'content': 'Updated    content    here.'}
    self.instance.update(**data)
    data.update({'content': b64encode(data['content']).decode('utf-8'), 'sha': self.instance.sha})
    self.put_called_with(contents_url_for(), data=data)
