Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A Little RSpec

A Little RSpec

The basics of RSpec, code at https://github.com/janogonzalez/a-little-rspec

Jano González

September 26, 2011
Tweet

More Decks by Jano González

Other Decks in Programming

Transcript

  1. Describing Code • describe: The thing to describe • it:

    The expected behavior • should/should_not: The assertion