Brief look at RSpec's formatting options
A few weeks ago, I noticed weird output in the RSpec test suite (~4000 tests) for a Rails application:
.............................................................................................unknown OID 353414: failed to recognize type of '<field>'. It will be treated as String ...........................................................................................................................................
This Rails app uses a PostgreSQL database. After some Googling, it turns out that this is a warning from PostgreSQL. When the database doesn’t recognize the type to use for a column, it casts to string by default.
Read more »