From 605e7602e94a46a5c54f7ea6ddd7d35abb73eef6 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Wed, 14 Aug 2019 18:59:11 +0500 Subject: [PATCH] Fix specs --- spec/requests/country_states/show_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/country_states/show_spec.rb b/spec/requests/country_states/show_spec.rb index 1b10596..2a46a25 100644 --- a/spec/requests/country_states/show_spec.rb +++ b/spec/requests/country_states/show_spec.rb @@ -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