Add pride option to rake
ruby -Itest test/something_test.rb --pride
--pride all the time because it gives a rainbow when successful.
does not have the rainbow. so I found I could add
but I wanted make it as default. After some google search, I went to source code.
so I opened
Rakefile and added this line.
t.options = "--pride"
# Rakefile require "bundler/gem_tasks" require "rake/testtask" Rake::TestTask.new(:test) do |t| t.libs << "test" t.libs << "lib" t.options = "--pride" t.test_files = FileList["test/*_test.rb"] end task :default => :test