mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 17:51:39 -05:00
15 lines
399 B
Ruby
15 lines
399 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
RSpec.describe 'Api::V1::Countries::Borders', type: :request do
|
|
describe 'GET /index' do
|
|
it 'returns a list of countries with borders' do
|
|
get '/api/v1/countries/borders'
|
|
|
|
expect(response).to have_http_status(:success)
|
|
expect(response.body).to include('AF')
|
|
expect(response.body).to include('ZW')
|
|
end
|
|
end
|
|
end
|