Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
338 B

require "rails_helper"
RSpec.describe ContentHelper do
let(:page_name) { "privacy_notice" }
describe "render content page" do
it "returns the page" do
expected_html = "Privacy notice"
expect(render_content_page(page_name)).to match(expected_html)
expect(page).to have_title("Privacy notice")
end
end
end