search for: car_dom_id

Displaying 1 result from an estimated 1 matches for "car_dom_id".

2006 Oct 26
2
Mocha and SimplyHelpful
...in the controller works properly. This is the error I get when running the tests: 1) Error: test_truth(HmmControllerTest): ActionView::TemplateError: undefined method `dom_id'' for #<#<Class: 0x3a529ec>:0x3a529c4> On line #2 of app/views/hmm/index.rhtml 1: <%= @car_dom_id %> 2: <%= dom_id(@car) %> Here''s my controller: class HmmController < ApplicationController def index @car = Car.find(1) @car_dom_id = dom_id(@car) end end Here''s my view: #app/views/hmm/index.rhtml <%= @car_dom_id %> <%= dom_id(@car)...