Talking head
RailsConf 2015

This presentation, by Noel Rappin, is licensed under a Creative Commons Attribution ShareAlike 3.0

RSpec is often described with the word “magic” by both its users and its detractors. Understanding how RSpec matchers, doubles, and specifications work will help you as an RSpec user. You will be able to take advantage of RSpec’s flexibility to make your tests clearer and more expressive. You’ll also get some exposure to new RSpec features, like compound matchers. Walking through a typical RSpec example, we’ll show the RSpec internals as RSpec evaluates matchers and uses doubles. You’ll leave with a better understanding of how to harness RSpec in your own tests.

Rated: Everyone
Viewed 1,446 times
Tags: rspec