[rspec-users] assert_select - to do negative tests - need help with syntax please :)

David Chelimsky dchelimsky at gmail.com
Thu Oct 13 07:39:18 EDT 2011


On Oct 13, 2011, at 4:40 AM, Gordon Yeong wrote:

> 
> This ^^ does include :name => "....".
> 
> What happens when you just run
> 
>   assert_select "input#brand_created_by", false
> 
> this runs successfully but how do I do it with the :name? :( I just want to be complete and explicit :)

I don't know if you can. Maybe somebody on the Rails list knows.

http://groups.google.com/group/rubyonrails-talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20111013/b6d5ccf1/attachment.html>


More information about the rspec-users mailing list