Files
growstuff/spec/features/footer_spec.rb
2016-11-26 12:06:02 +13:00

17 lines
424 B
Ruby

require 'rails_helper'
feature "footer", js: true do
before { visit root_path }
scenario "footer is on home page" do
expect(page).to have_css 'footer'
end
it 'has the Open Service link and graphic' do
expect(page).to have_selector 'a[href="http://opendefinition.org/ossd/"]'
end
# NB: not testing specific content in the footer since I'm going to put them
# in the CMS and they'll be variable.
end