Browse Source

added Which organisation owns the housing stock for this scheme? to the check

pull/717/head
JG 3 years ago
parent
commit
666a1e95c1
  1. 2
      spec/requests/schemes_controller_spec.rb

2
spec/requests/schemes_controller_spec.rb

@ -1244,6 +1244,7 @@ RSpec.describe SchemesController, type: :request do
it "returns a template for a edit-name" do it "returns a template for a edit-name" do
expect(response).to have_http_status(:ok) expect(response).to have_http_status(:ok)
expect(page).to have_content("Scheme details") expect(page).to have_content("Scheme details")
expect(page).not_to have_content("Which organisation owns the housing stock for this scheme?")
end end
context "when attempting to access secondary-client-group scheme page for another organisation" do context "when attempting to access secondary-client-group scheme page for another organisation" do
@ -1271,6 +1272,7 @@ RSpec.describe SchemesController, type: :request do
it "returns a template for a secondary-client-group" do it "returns a template for a secondary-client-group" do
expect(response).to have_http_status(:ok) expect(response).to have_http_status(:ok)
expect(page).to have_content("Scheme details") expect(page).to have_content("Scheme details")
expect(page).to have_content("Which organisation owns the housing stock for this scheme?")
end end
end end
end end

Loading…
Cancel
Save