Created
April 28, 2018 03:47
-
-
Save Baozi2/14f38b125fc4ee5e7ed9cd818481e61d to your computer and use it in GitHub Desktop.
rails 5.2 add a test task for lib directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :test do | |
task :lib => "test:prepare" do | |
$: << "test" | |
Rails::TestUnit::Runner.rake_run(["test/lib"]) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment