PageRenderTime 23ms CodeModel.GetById 19ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/ruby-mode/Ruby on Rails/Shoulda/shoulda.shc.2

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 54feb36eb30cd59154914bdc6005f531 MD5 | raw file
1#name : should_change "...", :from => ..., :to => ...
2#key : shc.2
3#group : rails.shoulda
4#condition : (or (rails/unit-test?) (rails/functional-test?))
5# --
6should_change "${1:Model.count}", :from => ${2:old_value}, :to => ${2:new_value}$0