search for: assert_no_tag

Displaying 4 results from an estimated 4 matches for "assert_no_tag".

2007 Mar 23
2
assert_select VS assert_no_tag
Hi everybody. Assert_no_tag will be deprecated soon. How can i use assert_select for checking not existed tag? Thanks. Bye. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email...
2006 Aug 14
0
anyone else having trouble with assert_tag :content ?
Hi everyone, In an integration test I have assert_tag :content => /Quantity/ and this always fails, even though Quantity does exist in the html. Similarly, I have assert_no_tag :content => /Quantity/ , and this fails even when Quantity *doesn''t* exist in the html. Am I missing something here? Thanks Daniel
2005 Nov 23
2
functional tests, assert_tag and tables
...39;', :content => ''Subject 1''}} assert_tag :tag => ''td'', :content => ''Mid-Day'', :parent => {:tag => ''tr'', :child => {:tag => ''td'', :content => ''Subject 2''}} assert_no_tag :tag => ''td'', :content => ''Morning'', :parent => {:tag => ''tr'', :child => {:tag => ''td'', :content => ''Teacher One''}} end *************************** Begin html *************************...
2006 Jul 13
10
Problem with flashes staying on between pages
...tes => {:class => ''notice''} assert_template "user/login" # Fetch the root and see if the flash notice is still there get ''/'' assert_response :success assert_template "descr/index" assert_flash_has_no :warning assert_no_tag :div, :attributes => {:class => ''notice''} end end It only fails on the last assert. The flash hash doesn''t have a notice in it but somehow the layout is seeing one. Anyone know what this might be? Thanks, Pedro.