Rspec: How to suppress warnings and notices when running tests?
postgresql, rails-postgresql, rspec2, ruby-on-rails-3
Solution
Did you set: `config.use_transactional_examples = true` to false and see if that breaks anything?
Problem
I was using Mysql database before and decided to switch to Postgresql and now, when I run my tests using rspec, I getting a lot of warnings and notices. ``` 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!" ``` How can I suppress that? Is there a way, right?