Stavo usando il database Mysql prima e ho deciso di passare a Postgresql e ora, quando eseguo i miei test usando rspec, ricevo molti avvisi e notifiche.Rspec: Come sopprimere avvisi e notifiche durante l'esecuzione dei test?
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!"
Come posso sopprimerlo? C'è un modo, giusto?
sta chiamando con il flag '--format progress'? forse nel tuo file .rspec? –
No, ho solo '--colour',' --drb' e '--format d' sul mio file .rspec. –
Vedere: https://github.com/rspec/rspec-rails/issues/58 e prendere in considerazione l'utilizzo di un pulitore DB come suggerito nel problema. –