RSpec Tests for Beginners
Use Patterns to Simplify Writing Tests for Your Rails App
Nov 4 · 8 min read
Spec tests appeared pretty daunting to me the first few times I approached them, but after awhile, certain patterns emerged and things began to fall into place. In this article, I want to walk through those patterns and provide other beginner programmers with a template for writing quality tests for their Rails applications. I’ll be covering the RSpec test suite and syntax in this article, but the concept of recognizing patterns should translate to any other test suite you are trying to…


