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

http://github.com/ridgetang/snippets · Unknown · 6 lines · 6 code · 0 blank · 0 comment · 0 complexity · cff811c73f8f03b9e50e8aff99ca1b47 MD5 · raw file

  1. #name : assert_good_value ..., ..., ...
  2. #key : asgv
  3. #group : rails.shoulda
  4. #condition : (or (rails/unit-test?) (rails/functional-test?))
  5. # --
  6. assert_good_value ${1:Model}, :${2:attribute}, ${3:value}