I have html I am trying to verify that looks like:

<p>\n    Displaying <b>1</b> user\n  </p>

a test that contains

assert_tag "p",:content => /Displaying 1 user/


The assertion fails, is there something I am missing? It seems it
should match 'cause I assue the bold tag is ignored? If I change the
assertion to

assert_tag "p", :content => /Displaying 1*/

it passes.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to