Fix specs
This commit is contained in:
parent
70d2e1dec6
commit
605e7602e9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue