Re: [rspec-users] [newbie] CSS navigation in controller response?

2011-01-25 Thread Evgeniy Dolzhenko
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? __

Re: [rspec-users] [newbie] CSS navigation in controller response?

2011-01-25 Thread Nick
Would replacing :content => "moribund" with :content => /moribund/ work? ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] [newbie] CSS navigation in controller response?

2011-01-25 Thread Nick
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

Re: [rspec-users] [newbie] CSS navigation in controller response?

2011-01-25 Thread Fearless Fool
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/. __