Dante2
Dante2

Reputation: 15

Rails is missing test/unit. Where is it?

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

Answers (1)

Prakash Murthy
Prakash Murthy

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

Related Questions