On Jan 15, 3:55 pm, Peter Vandenabeele <[email protected]> wrote:
> I upgraded a small project that I had created on 3.1.3 to 3.2.0.rc2.
>
> Running rspec on it brings about a large amount of these messages:
>
> DEPRECATION WARNING: Passing a template handler in the template name is
> deprecated. You can simply remove the handler name or pass render :handlers
> => [:haml] instead. (called from block (2 levels) in <top (required)> at
> /home/peterv/data/backed_up/projects/code/contact_app/spec/views/contacts/n 
> ew.html.haml_spec.rb:12)
> .
>
> The offending code seems to be:
>
> spec/views/contacts$ cat -n new.html.haml_spec.rb
>      1    require 'spec_helper'
>      2
>      3    describe "contacts/new.html.haml" do

Does it go away if you change this to "contacts/new.html"?

--Matt Jones

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to