Skip to content

Commit

Permalink
Adds test expectation for footer links
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Apr 1, 2014
1 parent 281ac50 commit 71fab4e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/support/features/session_helpers.rb
Expand Up @@ -195,6 +195,14 @@ def looks_like_homepage
page.should have_content "government assistance"
page.should_not have_title "1 result"
find("#language-box").should have_content("English")

within("#app-footer") do
find_link('San Mateo County Human Services Agency')[:href].should == 'http://www.co.sanmateo.ca.us/portal/site/humanservices'
find_link('Code for America')[:href].should == 'http://codeforamerica.org'
find_link('Get this app')[:href].should == 'https://github.com/codeforamerica/ohana-web-search'
find_link('view project details')[:href].should == 'http://ohanapi.org'
end

end

def go_to_next_page
Expand Down

0 comments on commit 71fab4e

Please sign in to comment.