factory_girl + rspec doesn't seem to roll back changes after each example

前端 未结 7 2069
暗喜
暗喜 2021-02-07 05:39

Similar to the problem described here: http://rpheath.com/posts/411-how-to-use-factory-girl-with-rspec

in Short (shorten\'d code):

spec_helper:

c         


        
相关标签:
7条回答
  • 2021-02-07 06:46

    Dude maybe your yaml fixtures from regular unit tests get mixed into your rspec?

    0 讨论(0)
提交回复
热议问题