1
0
Fork 0

Fix specs

This commit is contained in:
Alex Kotov 2019-08-14 18:59:11 +05:00
parent 70d2e1dec6
commit 605e7602e9
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -7,7 +7,7 @@ RSpec.describe 'GET /federal_subjects/:id' do
before do
sign_in current_account.user if current_account&.user
get "/federal_subjects/#{federal_subject.id}"
get "/federal_subjects/#{federal_subject.number}"
end
for_account_types nil, :guest, :usual, :superuser do