RSpec tutorial

Not sure this will answer my questions.