Displaying 1 result from an estimated 1 matches for "question_for_candidate".
2007 Nov 10
2
Problem with view spec - works inside the browser but spec fails with nil object
...en I run "rake spec:views".
ActionView::TemplateError in ''/survey/show should display the "question 4"
heading correctly''
You have a nil object when you didn''t expect it!
The error occurred while evaluating nil.position
On line #1 of app/views/survey/_question_for_candidate.rhtml
1: <div class="question question-<%= question.position %>">
2: <p class="heading">
3: <span class="number"><%= question.position %>.</span>
4: <span class="description"><%= question...