diff --git a/app/views/admin/services/_results.html.erb b/app/views/admin/services/_results.html.erb index 0313b87d9..810db824b 100644 --- a/app/views/admin/services/_results.html.erb +++ b/app/views/admin/services/_results.html.erb @@ -8,6 +8,7 @@ # of Collections HISP Service? Status + Previously reported? @@ -28,6 +29,9 @@ <%= render 'components/service_status_tag', service: service %> + + <%= service.previously_reported %> + <% end %> diff --git a/spec/features/admin/services_spec.rb b/spec/features/admin/services_spec.rb index 4f79508c7..d42b56075 100644 --- a/spec/features/admin/services_spec.rb +++ b/spec/features/admin/services_spec.rb @@ -33,6 +33,17 @@ expect(page.current_path).to eq(admin_services_path) expect(page).to have_link('New Service') expect(page).to have_css('tbody tr', count: 2) + + within("thead") do + expect(page).to have_text('Organization') + expect(page).to have_text('Service Provider') + expect(page).to have_text('Service name') + expect(page).to have_text('# of Stages') + expect(page).to have_text('# of Collections') + expect(page).to have_text('HISP Service?') + expect(page).to have_text('Status') + expect(page).to have_text('Previously reported?') + end end describe 'create a new Service' do