RubyFlow The Ruby and Rails community linklog

Using RSpec's shared_examples_for

There’s not a lot of documentation or examples online for how to use RSpec’s shared_examples_for to avoid duplication when writing spec, so I wrote a short blog post on it.

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