Skip to content

Instantly share code, notes, and snippets.

@jpemberthy
Created March 9, 2011 20:26
Show Gist options
  • Save jpemberthy/862932 to your computer and use it in GitHub Desktop.
Save jpemberthy/862932 to your computer and use it in GitHub Desktop.
Some extra bundles.
***
expect {
${1:something}
}.to change(${2:Thing}, ${3::attribute}).from(${4:a}).to(${5:b})
***
it { $0 }
***
${1:target}.should be_${2:result}
$0
***
it_should_behave_like "${1:shared_example}"
$0
****
before { ${1:something} }
$0
***
delegate :${1:hello}, :${2:bye}, :to => :${3:greeter}
$0
***
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment