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/show_spec.rb

19 lines
421 B
Ruby
Raw Normal View History

2019-01-31 17:38:06 -05:00
# frozen_string_literal: true
require 'rails_helper'
2019-06-23 11:59:44 -04:00
RSpec.describe 'GET /federal_subjects/:id' do
let!(:federal_subject) { create :federal_subject }
2019-01-31 17:38:06 -05:00
before do
sign_in current_account.user if current_account&.user
2019-08-14 09:59:11 -04:00
get "/federal_subjects/#{federal_subject.number}"
2019-01-31 17:38:06 -05:00
end
for_account_types nil, :guest, :usual, :superuser do
specify do
expect(response).to have_http_status :ok
end
end
end