Skip to content

yasnippet compatible versions of the TextMate-bundled rSpec snippets.

Notifications You must be signed in to change notification settings

mknittig/yasnippets-rspec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yasnippets snippet definitions for use with rSpec

for information on yasnippets see http://code.google.com/p/yasnippet/
for information on rSpec see http://rspec.info

contents:

- setup.el: a convenient way to load these snippets as programmatically, e.g.
  (load-library (concat "your-snippets-dir" "/yasnippets-rspec/setup.el"))

- rspec-snippets: the actual directory of snippets


differences from the TextMate versions:

- Controller snippets, describe blocks, matcher gain {lead,trail}ing newline

- RESTful controller dropdown order is natural (vs. GET|POST|PUT|DELETE)

- it block handling broken into "it" for the block form and "itd" for a
  one line form

- mock_with snippet order is natural (vs. mocha|flexmock|rr)

- should{,_not} be_instance_of snippet shortcuts changed shbio and
  shnbio for consistency

- dropped 'shkof' for should_not be_kind_of, opting for the more
  consistent shnbko

- should{,_not} eq{ua}l matcher order is now natural

- should{_not} {match,=~} order is now natural

- should_{redirect,render,respond} order is now natural

About

yasnippet compatible versions of the TextMate-bundled rSpec snippets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%