On Wednesday, September 28, 2016 at 11:34:32 AM UTC-7, [email protected] wrote: > > Hi there, > > Is there a way to exclude one spec file from running in a transaction with > sequel? > > I'm using an rspec configuration like: > http://sequel.jeremyevans.net/rdoc/files/doc/testing_rdoc.html > <http://www.google.com/url?q=http%3A%2F%2Fsequel.jeremyevans.net%2Frdoc%2Ffiles%2Fdoc%2Ftesting_rdoc.html&sa=D&sntz=1&usg=AFQjCNFeC6K0MqmoPBekiXdFVDuvPFG03A> > . >
I believe rspec 2+ supports this by introspecting the metadata of the example (c.around block argument), and deciding whether to use a transaction based on it. Exactly how it is done I'm not sure, I haven't used rspec in a while. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
