Created
March 2, 2011 18:45
-
-
Save petedickson/851449 to your computer and use it in GitHub Desktop.
Rspec 'have_selector' test fails despite correctly rendered page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failure/Error: response.should have_selector('title', :content => "About") | |
expected following output to contain a <title>About</title> tag: | |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> | |
# ./spec/requests/layout_links_spec.rb:33:in `block (2 levels) in <top (required)>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment