Most of the time, using before(:each) is the way to go. There are some cases using before(:all) can really help shorten your test run. In this episode, I'll take you through using both and showing some ways to avoid any issues.
Melissa is the Founder of RubyThursday and co-organizer of the Ruby Roundtable meetup. Signup for her weekly updates here.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form :(