I wish it would, but no, it won't due to the nature of how Webrat
have_selector matcher works (it uses XPath queries behind the scenes)
On 1/25/2011 11:18 PM, Nick wrote:
Whoops, let me fix that:
Would replacing
:content => "moribund"
with
:content => /moribund/i
work?
__
Would replacing
:content => "moribund"
with
:content => /moribund/
work?
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Whoops, let me fix that:
Would replacing
:content => "moribund"
with
:content => /moribund/i
work?
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Evgeniy Dolzhenko wrote in post #977322:
> You can pass a block to `have_selector` to nest your assertions, like:
> ...
> td is [#, ...] here
Most wonderfully cool. If it's Nokogiri, then I'm on familiar turf.
Thanks very much.
- ff
--
Posted via http://www.ruby-forum.com/.
__