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.
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!
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