change have_content to have_selector
add shared_examples in rspec
use full_title of ApplicationHelper in test