Ruby

Using the RSpec Around Hooks

RSpec gives you multiple hooks to facilitate setup and tear-down of your specs. Using an around hook gives you the ability to DRY up your spec_helper.