rspec

Ruby

DRYing your tests with rspec shared_examples

Reducing lines of code in your tests that share common behaviour.

Read