PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/ruby-mode/Ruby on Rails/Shoulda/shoulda.shre

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 90dc2d29b76a3d01550239f3935f37bc MD5 | raw file
1#name : should_redirect_to "..."
2#key : shre
3#group : rails.shoulda
4#condition : (or (rails/unit-test?) (rails/functional-test?))
5# --
6should_redirect_to "${2:object}_path(@$2)"$0