Reputation: 15
I am following along with the book Jump Start Rails 4, and I am told to add some validation to the test/unit/post_test.rb file. However, my app is missing the unit folder. And for some reason ALL of the other apps on my computer are missing the unit folder as well. Does anyone know why and how to fix this?
Upvotes: 1
Views: 224
Reputation: 13067
In rails 4
versions, the test folders are changed from the previous versions as follows:
test/unit/
=> test/models/
test/functional/
=> test/controllers
Upvotes: 1