public
Description: Tomtt's version of the minor mode for editing RubyOnRails code in Emacs
Homepage: http://rubyforge.org/projects/emacs-rails/
Clone URL: git://github.com/tomtt/emacs-rails.git
added shoulda snippets for context and should statement
rwc9u (author)
Tue May 06 13:36:36 -0700 2008
commit  5da0d48496ba34a9e80316bf07efec655975c550
tree    a31c667634a3c56d0a508593c10eaed792e1ec69
parent  0ae857970875e1180e2aa44bf6fbdf042f6b8bf6
...
263
264
265
 
 
 
266
267
268
...
263
264
265
266
267
268
269
270
271
0
@@ -263,6 +263,9 @@
0
        ("flash" "flash[:$${notice}] = '$${Successfully}'$." "flash[...]")) ; environment
0
     (0 "tests" rails-functional-test-minor-mode-abbrev-table rails-unit-test-minor-mode-abbrev-table
0
        ("fix" "$${,rails-snippets-feature:fixture}(:$${one})$." "models(:name)")) ; functional tests
0
+ (0 "shoulda" rails-functional-test-minor-mode-abbrev-table rails-unit-test-minor-mode-abbrev-table
0
+ ("cont" "context \"$${description}\" do\n$>setup do\n$>$${setup}\n$>end\n $>should \"$${should_desc}\" do\n $>$.\n$>end\n$>end" "context block with setup")
0
+ ("should" "should \"$${description}\" do\n $>$.\n$>end" "should block")) ; shoulda tests
0
     (0 "assertions" rails-functional-test-minor-mode-abbrev-table rails-unit-test-minor-mode-abbrev-table
0
        ("art" "assert_redirected_to :action => '$${index}'" "assert_redirected_to")
0
        ("as" "assert $${test}" "assert(...)")

Comments

    No one has commented yet.