开发者

how to unit test a route that redirects to a static file in rails 3

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 ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜