Problem with output at running specs

Hi folks, I’m using rspec-rails 1.3.3 with a rails 2.3.2 app, I’m
setting up the test environment, an every time that I run the specs I
get this weird output: Plain Text code - 35 lines - codepad

Do you know how I can get rid of this ugly output? I just want to view
my spec output not sql related one.

Thanks in advance.

On Saturday, January 15, 2011 7:56:48 PM UTC-5, rdavila wrote:

Hi folks, I’m using rspec-rails 1.3.3 with a rails 2.3.2 app, I’m
setting up the test environment, an every time that I run the specs I
get this weird output: Plain Text code - 35 lines - codepad

Do you know how I can get rid of this ugly output? I just want to view
my spec output not sql related one.

Thanks in advance.

Try recreating your test DB:
$ rake db:test:prepare

Hi Nick, I get the same result after recreating the database.

Thanks.

I’ve tried reconfiguring rspec from scratch and I get the same
problem. I’ve too many hours trying to resolve this issue, please give
me some hint.

Here is the output again: http://pastie.org/1478603

Thanks!

I’ve found the culprit!. The method add_index was redefined in an
initializer and it was writing to the standard output instead of
logger.

Very thanks!