Skip to content

Commit

Permalink
some rspec snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
brunograsselli committed Sep 4, 2012
1 parent 0c1a700 commit 1b22457
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions snippets/ruby-rspec.snippets
Expand Up @@ -19,3 +19,19 @@ snippet it
it "${1}" do
${2}
end

snippet bef
before do
${1}
end

snippet aft
after do
${1}
end

snippet fgc
FactoryGirl.create(:${1})

snippet fgb
FactoryGirl.build(:${1})

0 comments on commit 1b22457

Please sign in to comment.