Update failing test

This commit is contained in:
Maciej Szlosarczyk 2018-08-07 14:56:19 +03:00
parent e3807f694d
commit abb1ad60e8
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
2 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@ module Api
if @domain
render json: @domain
else
render json: { errors: ['Domain not found'] }, status: :not_found
render json: { errors: [{ base: ['Domain not found'] }] }, status: :not_found
end
end