On Nov 8, 2011, at 12:53 AM, emadridm wrote:
> Hi guys,
>
> I don't know how to write an spec for a view template with two or more
> forms. The follow content corresponds to the file named home.html.haml
>
> !!! 5
> = form_for(:session, :url => sessions_path) do |f|
> .field
>= f.label :ema
Hi guys,
I don't know how to write an spec for a view template with two or more
forms. The follow content corresponds to the file named home.html.haml
!!! 5
= form_for(:session, :url => sessions_path) do |f|
.field
= f.label :email
= f.text_field :email
.field
= f.label :password