mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-24 09:43:24 -04:00
Merge pull request #786 from sha1sum/open_service_in_footer
Resolves #617 - Open Service graphic link in footer
This commit is contained in:
@@ -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="")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user