Displaying 1 result from an estimated 1 matches for "parties_controller_test".
2007 Jan 24
7
Differences between assert_tag and assert_select
...t "a[onclick=?]",
Regexp.new(Regexp.escape(new_phone_url)), /add new/i
test_link_to_add_address_exists(NewPartyViewTest)
[/home/francois/src/config/../vendor/rails/actionpack/lib/action_controller/assertions/selector_assertions.rb:281:in
`assert_select'
test/functional/admin/parties_controller_test.rb:1518:in
`test_link_to_add_address_exists']:
Expected at least 1 elements, found 0.
<false> is not true.
There's probably something I'm not doing right, for sure.
#assert_select is supposed to be so much easier to use, but I'm not
find that at all. I just learned about &qu...