Re: [rspec-users] Speccing the existance of an unchecked checkbox

2008-09-03 Thread David Chelimsky
On Wed, Sep 3, 2008 at 8:38 AM, Matt Wynne <[EMAIL PROTECTED]> wrote: > On 3 Sep 2008, at 14:31, Bart Zonneveld wrote: > >> >> On 3 sep 2008, at 15:28, David Chelimsky wrote: >> >>> On Wed, Sep 3, 2008 at 6:56 AM, Bart Zonneveld <[EMAIL PROTECTED]> >>> wrote: Hey list, I found m

Re: [rspec-users] Speccing the existance of an unchecked checkbox

2008-09-03 Thread Matt Wynne
On 3 Sep 2008, at 14:31, Bart Zonneveld wrote: On 3 sep 2008, at 15:28, David Chelimsky wrote: On Wed, Sep 3, 2008 at 6:56 AM, Bart Zonneveld <[EMAIL PROTECTED]> wrote: Hey list, I found myself trying to verify there are some non-checked checkboxes in a template today, and am kinda stum

Re: [rspec-users] Speccing the existance of an unchecked checkbox

2008-09-03 Thread Bart Zonneveld
On 3 sep 2008, at 15:28, David Chelimsky wrote: On Wed, Sep 3, 2008 at 6:56 AM, Bart Zonneveld <[EMAIL PROTECTED]> wrote: Hey list, I found myself trying to verify there are some non-checked checkboxes in a template today, and am kinda stumped how to do it :). A checked checkbox is easy,

Re: [rspec-users] Speccing the existance of an unchecked checkbox

2008-09-03 Thread David Chelimsky
On Wed, Sep 3, 2008 at 6:56 AM, Bart Zonneveld <[EMAIL PROTECTED]> wrote: > Hey list, > > I found myself trying to verify there are some non-checked checkboxes in a > template today, and am kinda stumped how to do it :). > A checked checkbox is easy, > have_tag('input[type=checkbox][checked=checked

[rspec-users] Speccing the existance of an unchecked checkbox

2008-09-03 Thread Bart Zonneveld
Hey list, I found myself trying to verify there are some non-checked checkboxes in a template today, and am kinda stumped how to do it :). A checked checkbox is easy, have_tag('input[type=checkbox] [checked=checked]). But, an unchecked checkbox hasn't got the checked attribute at all. And as