Merge pull request #786 from sha1sum/open_service_in_footer

Resolves #617 - Open Service graphic link in footer
This commit is contained in:
pozorvlak
2015-07-28 22:00:19 +01:00
2 changed files with 9 additions and 1 deletions

View File

@@ -7,3 +7,6 @@
!= cms_snippet_content(:footer2)
.col-md-4#footer3
!= cms_snippet_content(:footer3)
%div(style="float: right;")
%a(href="http://opendefinition.org/ossd/")
%img(src="http://assets.okfn.org/images/ok_buttons/os_80x15_blue.png" alt="")

View File

@@ -2,11 +2,16 @@ require 'rails_helper'
feature "footer" do
before { visit root_path }
scenario "footer is on home page" do
visit root_path
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