RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Cleaner specs with custom RSpec example groups

I just published a new article about the advantages of custom RSpec example groups and how they can help you to reduce duplication and test setup in your specs. After a short introduction the article illustrates how to customize example groups for certain specs using a practical example based on ActiveModel::Serializers.

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