Running two spec folders in Rails with RSpec

自作多情 提交于 2019-12-12 02:32:51

问题


I'm currently trying to rewrite an application's FactoryGirl factories and therefore I am looking to run two spec folders. Maybe a spec folder and an old_spec folder. However there always seems to be conflicts as FactoryGirl doesn't seem to know whether to use the original factories or the new versions... Obviously I would like to have both folders integrated with my CI server as Im re-writing & so therefore I require both folders to be ran. Does anybody have any experience running two spec folders and could offer any advice?

来源:https://stackoverflow.com/questions/41892244/running-two-spec-folders-in-rails-with-rspec

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!