search for: invitation_request

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

Did you mean: invitation_requests
2007 Nov 02
0
DATE_FORMATS and functional tests
...te.created_at.to_s(:msc_short)'' work perfectly in all my views during normal operation. However, any functional test that includes a view template with .to_s(:msc) fails with something like: ActionView::TemplateError: wrong number of arguments (1 for 0) On line #20 of app/views/admin/invitation_requests.rhtml 20: <td><%= invite.created_at.to_s(:msc_short) %></td> My functional test method is: def test_invitation_requests login_as :quentin get :invitation_requests # <--- Fails here assert_response :success assert assigns(:invites) end My test_h...