From 4f40717b5f4bc54d7e206bc342a63d6859162411 Mon Sep 17 00:00:00 2001 From: jimi Date: Tue, 26 Oct 2010 09:55:46 -0500 Subject: [PATCH] (ruby) correct attribute typo, include test in loops --- ftplugin/ruby/ruby.xpt.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ftplugin/ruby/ruby.xpt.vim b/ftplugin/ruby/ruby.xpt.vim index 900cc6b..e712c17 100644 --- a/ftplugin/ruby/ruby.xpt.vim +++ b/ftplugin/ruby/ruby.xpt.vim @@ -16,7 +16,7 @@ attr`_`what^ :`attr*^ XPT validates " validates :attr ... validates :`attr^, `^ -XPT :presence synonym=:uniqueness|:acceptance|:confirmation|:numericallity " $_xSnipName => true +XPT :presence synonym=:uniqueness|:acceptance|:confirmation|:numericality " $_xSnipName => true XSET bool=true`^ `:key({ 'val' : 'bool' }):^ @@ -81,7 +81,7 @@ flash.now[:`error^] = "`message^" " RSpec snippets -XPT describe synonym=it alias=loop +XPT describe synonym=it|test alias=loop XSET args="`^" XPT resp abbr