Rails 5 unit and functional tests
On trunk r16872, "rake test:units" and "rake test:functionals" cannot run.
Rails 5 changes directories.
- test/unit -> test/models
- test/functional -> test/controllers
#3 Updated by Toshi MARUYAMA 2 months ago
Jean-Philippe Lang wrote:
Should we move the tests to the new models, controllers... folders?
I don't know.
But Japanese document says
- rake test:units -> run in test/models test/helpers, and test/unit
- rake test:functionals -> run in test/controllers, test/mailers, and test/functional