我之前使用的是 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!"
我怎么能压制它?有没有办法,对吧?