How to run unit tests in RoR

To run unit tests

first run rake db:test:prepare

then ruby test\unit\whatever.rb

or rake test (to run all tests everywhere).

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.