[rspec-users] before(:all)

lawrence.pit lawrence.pit at gmail.com
Wed May 20 23:27:15 EDT 2009

Hi All,

When I execute database actions within a before(:each) they are rolled
back after each example test has run. I expected that if I execute db
actions within a before(:all) they would all be rolled back after all
examples finished running. This appears not to be the case, in my
case. Is there a way to get this behavior?


More information about the rspec-users mailing list