我之前使用 Mysql 数据库,决定切换到 Postgresql,现在,当我使用 rspec 运行测试时,我收到很多警告和通知。
WARNING: there is already a transaction in progress
NOTICE: there is no transaction in progress
should has link "Suspender"
WARNING: there is already a transaction in progress
NOTICE: there is no transaction in progress
should has css "title" with text "Suspensão de anúncio"
WARNING: there is already a transaction in progress
NOTICE: there is no transaction in progress
should has css "h1" with text "Awesome job!"
我怎样才能抑制它?有办法吧?
您是否设置:config.use_transactional_examples = true
false 看看是否会破坏任何东西?
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)