Browse Source

test: update locations list test in schemes feature tests

pull/987/head
Sam Seed 4 years ago
parent
commit
c537849b3b
  1. 5
      spec/features/schemes_spec.rb

5
spec/features/schemes_spec.rb

@ -204,9 +204,8 @@ RSpec.describe "Schemes scheme Features" do
locations.each do |location| locations.each do |location|
expect(page).to have_content(location.id) expect(page).to have_content(location.id)
expect(page).to have_content(location.postcode) expect(page).to have_content(location.postcode)
expect(page).to have_content(location.units) expect(page).to have_content(location.name)
expect(page).to have_content(location.type_of_unit) expect(page).to have_content("Active")
expect(page).to have_content(location.startdate&.to_formatted_s(:govuk_date))
end end
end end
end end

Loading…
Cancel
Save