#232 ✓invalid
Perryn Fowler

foo.erb vs foo.html.erb

Reported by Perryn Fowler | April 25th, 2009 @ 11:34 PM

I am using Rails 2.3.2 and cucumber 0.2.3 with webrat 0.4.4

My view templates are named as follows foo.html.erb. The application works fine, but if I try to visit a page in my cucumber tests I get

Missing template foo/new.erb in view path app/views (ActionView::MissingTemplate)

If I rename the template to foo.erb everything works fine, but I would prefer to be able to name them the other way

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Tags

Pages