expect(page).tohave_content("Create a new supported housing scheme")
expect(page).tohave_content("Select the scheme’s type")
expect(page).tohave_content("Select if this scheme is registered under the Care Standards Act 2000")
expect(page).tohave_content("Select who provides the support services used by this scheme")
expect(page).tohave_content("Enter the existing organisation’s name")
expect(page).tohave_content("Enter the scheme’s name")
end
end
context"when required organisation id param is missing"do
let(:params){{"scheme"=>{"service_name"=>"qweqwer","sensitive"=>"Yes","owning_organisation_id"=>"","scheme_type"=>"Foyer","registered_under_care_act"=>"Yes – part registered as a care home"}}}