search for: test_event_info

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

2006 Jul 05
2
How to write get functional test when there is no action by that name
...'home'',:action => ''event_info'' It causes a URL like http://localhost:3000/event/_jewels_exhibition_ to be sent to the home controller with action as ''event_info''. I am trying to test this action. My first gut was to write something like def test_event_info get :event_info assert_response :success end But this doesn''t work. Does anyone have any idea how to creat a get request whicn transaltes into " http://localhost:3000/event/_jewels_exhibition_ ". I am stuck because of this and can''t proceed with my testing....