Skip to content

Tutorial

jimweirich edited this page Sep 4, 2012 · 8 revisions

RSpec/Given Tutorial

Let's work through an example of using RSpec/Given in a more or less real example. We will use examples from the EverCreft-Kata project by Guy Royse (@guyroyse) and George Walters II (@walterg2).

Tutorial Table of Contents

  1. Tutorial: Simple Spec
  2. Tutorial: Immediate Given
  3. Tutorial: Inherited When
  4. Tutorial: Invariants