expect(json_response['message']).toeq('Failed to save group'\
let(:message){'Failed to save group {:avatar=>["file format is not supported. Please try one of the following supported formats: png, jpg, jpeg, gif, bmp, tiff, ico"]}'}
' {:avatar=>["file format is not supported.'\
' Please try one of the following supported formats:'\
' png, jpg, jpeg, gif, bmp, tiff, ico"]}')
end
it'returns 400 if group avatar file size exceeds allowed limit'do
it_behaves_like'it returns 400 for bad upload request'