On Mon, Mar 9, 2009 at 6:49 PM, Pat Nakajima <[email protected]> wrote:
>> Has anyone tried this? is it useful?
>
> It looks interesting, though it could be confused for trying to exactly
> mimic the actual markup, not just specify interesting parts.

What is the method name was be_html_including instead of be_html_with???

> On Mon, Mar 9, 2009 at 7:20 PM, Phlip <[email protected]> wrote:
>>>
>>> http://gist.github.com/76136
>>
>>>    response.body.should be_html_with{
>>>      form :action => '/users' do
>>>        fieldset do
>>>          legend 'Personal Information'
>>>          label 'First name'
>>>          input :type => 'text', :name => 'user[first_name]'
>>>        end
>>>      end
>>>    }
>>
>> Has anyone tried this? is it useful?
>>
>> _______________________________________________
>> rspec-users mailing list
>> [email protected]
>> http://rubyforge.org/mailman/listinfo/rspec-users
>
>
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to