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

20 lines
417 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require 'rails_helper'
2019-07-22 06:39:32 -04:00
RSpec.describe 'GET /federal_subjects/:number' do
let(:federal_subject) { create :federal_subject }
before do
sign_in current_account.user if current_account&.user
2019-07-22 06:39:32 -04:00
get "/federal_subjects/#{federal_subject.number}"
end
2019-09-01 07:27:18 -04:00
for_account_types nil, :usual, :superuser do
specify do
expect(response).to have_http_status :ok
end
end
end