RubyFlow The Ruby and Rails community linklog

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