I\'m using the below code to verify there are no broken links on the page using RSpec and capybara.
Then("I expect not to have broken links on the homepage"