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.
|
|
|
require "rails_helper"
|
|
|
|
RSpec.describe "Test Features" do
|
|
|
|
it "Displays the name of the app" do
|
|
|
|
visit("/")
|
|
|
|
expect(page).to have_content("Log social housing lettings and sales (CORE)")
|
|
|
|
end
|
|
|
|
|
|
|
|
it "Links to the About page" do
|
|
|
|
visit("/")
|
|
|
|
click_link("About")
|
|
|
|
expect(current_path).to eql("/about")
|
|
|
|
expect(page).to have_content("About")
|
|
|
|
end
|
|
|
|
end
|