Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
merefield committed Dec 18, 2023
1 parent af0bdad commit 95c25b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/controllers/geocode_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
get :countries, format: :json
expect(response).to have_http_status(:successful)
json = ::JSON.parse(response.body)
expect(json['geo'][0]['code']).to eq('af')

expect(json['geocode'][0]['code']).to eq('af')
end
end
end

0 comments on commit 95c25b6

Please sign in to comment.