Skip to content

Commit

Permalink
added shoulda snippets for context and should statement
Browse files Browse the repository at this point in the history
  • Loading branch information
rwc9u committed May 6, 2008
1 parent 0ae8579 commit 5da0d48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rails-snippets-feature.el
Expand Up @@ -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(...)")
Expand Down

0 comments on commit 5da0d48

Please sign in to comment.