
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
-
gaffo May 10th, 2009 @ 10:12 PM
- State changed from new to open
Perryn, There was an odd issue with rails for a while where this was happening. Are you using a released version of rails 2.3.2?
-
gaffo June 15th, 2009 @ 12:38 AM
- Tag set to stale
-
-
Nicholas Rutherford November 2nd, 2009 @ 04:11 PM
Sorry I fat-fingered return and posted too fast, my versions are:
webrat-0.5.3
rails from 2-3-stable 7ba80252a5a6bd94c8445347caee663b12c1a526
The page works fine when I use it in a browser but visiting in cucumber fails.
-
Nicholas Rutherford November 2nd, 2009 @ 04:26 PM
- Tag set to stale
It turns out there is something weird going on with my paths.rb so it's probably not a webrat issue after all, sorry!
-
Bryan Helmkamp November 15th, 2009 @ 04:18 PM
- State changed from open to invalid
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.
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.