Browse files

added shoulda snippets for context and should statement

  • Loading branch information...
1 parent 0ae8579 commit 5da0d48496ba34a9e80316bf07efec655975c550 @rwc9u rwc9u committed May 6, 2008
Showing with 3 additions and 0 deletions.
  1. +3 −0 rails-snippets-feature.el
View
3 rails-snippets-feature.el
@@ -263,6 +263,9 @@
("flash" "flash[:$${notice}] = '$${Successfully}'$." "flash[...]")) ; environment
(0 "tests" rails-functional-test-minor-mode-abbrev-table rails-unit-test-minor-mode-abbrev-table
("fix" "$${,rails-snippets-feature:fixture}(:$${one})$." "models(:name)")) ; functional tests
+ (0 "shoulda" rails-functional-test-minor-mode-abbrev-table rails-unit-test-minor-mode-abbrev-table
+ ("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")
+ ("should" "should \"$${description}\" do\n $>$.\n$>end" "should block")) ; shoulda tests
(0 "assertions" rails-functional-test-minor-mode-abbrev-table rails-unit-test-minor-mode-abbrev-table
("art" "assert_redirected_to :action => '$${index}'" "assert_redirected_to")
("as" "assert $${test}" "assert(...)")

0 comments on commit 5da0d48

Please sign in to comment.