I just go into autotest and I have the following problem.
How to get autotest for printing stack traces in case of errors. If I run "rake spec", I get the output
4) Transaction should get date with poor form Failure/Error: transaction = Transaction.build_from_email(@email) NoMethodError: private method `gsub' called for 112:Fixnum # ./app/models/transaction.rb:46:in `build_from_email' # ./spec/models/transaction_spec.rb:104
but i get the following with autotest
4) Transaction should get date with poor form Failure/Error: transaction = Transaction.build_from_email(@email) NoMethodError: private method `gsub' called for 112:Fixnum
It would be much easier to find where the error is.
Thanks a bunch
source share