Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Rake Unit Testing : “False” being used for column “no” #8612
Post :: Model
Posts.yml under (test/fixtures/)
On running, rake test:units, the following stack trace is generated
Now, here - the table field 'no' has been converted to 'false'. (which seems to be a problem since its being interpreted as FALSE and not as a object variable)
Thanks for your report. The word
I'm closing this one because it's not a bug in rails and the YAML spec describes that yes/no will be converted to booleans and need to be escaped otherwise.