RubyFlow The Ruby and Rails community linklog

Generic tests with Rspec

A simple technique to avoid duplication in Rspec tests using shared examples and described_class.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in