Skip to content

Instantly share code, notes, and snippets.

@rojotek
Created September 4, 2012 07:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rojotek/3618157 to your computer and use it in GitHub Desktop.
Save rojotek/3618157 to your computer and use it in GitHub Desktop.
shoulda matchers
it {should have_many(:items).through(:order_items)}
it {should have_db_column(:description).of_type(:string)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment