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.
15 lines
392 B
15 lines
392 B
3 years ago
|
require "rails_helper"
|
||
|
RSpec.describe "Test Features" do
|
||
|
it "Displays the name of the app" do
|
||
|
visit("/")
|
||
|
expect(page).to have_content("Share Lettings and Sales for Social Housing in England Data with MHCLG")
|
||
|
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
|