Running a Single Test File in Rails



There are cases where you don’t want to run your entire Rails test suite. From your Rails application directory run the following command:

ruby -I lib:test test/integration/dealer_admin_test.rb

A small but useful tidbit.



Leave a Reply