Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md

README.md

rspec-tips

Here are a few tips for rspec that I have collected.

  • use the let block
  • avoid explict subject
  • use factory girl or some other object factory
  • keep your tests fast with judicius mocking
  • use a second test suit for integration tests
  • use contexts and describe blocks liberally
  • one expectation per it block
Something went wrong with that request. Please try again.