I setup a route that redirect to a static file and i would like开发者_StackOverflow社区 to write a test using unit test for it ----- the route ------ get '/users/sign_in', :to => redirect("/404.html")
Any idea ?
I setup a route that redirect to a static file and i would like开发者_StackOverflow社区 to write a test using unit test for it ----- the route ------ get '/users/sign_in', :to => redirect("/404.html")
Any idea ?
精彩评论