1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/spec/requests/country_states/index_spec.rb

20 lines
369 B
Ruby
Raw Normal View History

2019-01-31 17:38:06 -05:00
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe 'GET /country_states' do
before do
sign_in current_account.user if current_account&.user
create_list :country_state, 5
get '/country_states'
end
for_account_types nil, :guest, :usual, :superuser do
specify do
expect(response).to have_http_status :ok
end
end
end