Action in the Controller:
def show
@story = Story.find(params[:id])
end


Test:
def test_should_show_show
get :show, arams => {:id => 'sitepoint' }
assert assignsstory).valid?
end

This is the Error, that i have..

test_should_show_show(StoryControllerTest):
ActionView::TemplateError: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.name

I think the action show musst find the objet for me or ?. I'm trying to understand please help me!!!