Displaying 1 result from an estimated 1 matches for "commitscontrollertest".
2008 Jan 01
1
functional tests
...sociations set up correctly and all is working
as it should.
I only have the auto generated tests at the moment and the
test_should_get_index test is failing.
The controller is just a default controller but i get the following
error on the test as i modified the index view.
test_should_get_index(CommitsControllerTest):
ActionView::TemplateError: You have a nil object when you didn''t
expect it!
The error occurred while evaluating nil.real_name
On line #13 of commits/index.html.erb
10:
11: <% for commit in @commits %>
12: <tr>
13: <td><%=h commit.person.re...