public
Fork of tomtt/emacs-rails
Description: Rob's version of the minor mode for editing RubyOnRails code in Emacs
Homepage: http://rubyforge.org/projects/emacs-rails/
Clone URL: git://github.com/rwc9u/emacs-rails.git
more snippets
rwc9u (author)
Wed May 07 10:46:02 -0700 2008
commit  afddcb6b9ba9ec0d3f60b2b4db387a95c41163da
tree    8cb0772c881bf8b7aa89ac9a552c8c40b746f581
parent  5da0d48496ba34a9e80316bf07efec655975c550
...
265
266
267
268
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
270
271
...
265
266
267
 
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
0
@@ -265,7 +265,21 @@
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
+ ("should" "should \"$${description}\" do\n $>$.\n$>end" "should block")
0
+ ("sbt" "should_belong_to :$${object}" "should_belong_to")
0
+ ("selir" "should_ensure_length_in_range $${attribute}, ($${range})" "should_ensure_length_in_range")
0
+ ("sevir" "should_ensure_value_in_range $${attribute}, ($${range})" "should_ensure_value_in_range")
0
+ ("sho" "should_have_one :$${object}" "should_have_one")
0
+ ("snstf" "should_not_set_the_flash" "should_not_set_the_flash")
0
+ ("snat" "should_not_assign_to :$${variable}" "should_not_assign_to")
0
+ ("soanvf" "should_only_allow_numeric_values_for :$${attribute}" "should_only_allow_numeric_values_for")
0
+ ("sraf" "should_render_a_form" "should_render_a_form")
0
+ ("srt" "should_render_template :$${template}" "should_render_template")
0
+ ("sra" "should_require_attributes $${attribute}" "should_require_attributes")
0
+ ("srua" "should_require_unique_attributes $${attribute}" "should_require_unique_attributes")
0
+ ("srw" "should_respond_with :$${response}" "should_respond_with")
0
+ ("sstft" "should_set_the_flash_to $${value}" "should_set_the_flash_to")
0
+) ; 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.