1 2 3 4 5 6 7 8 9 10 11 12
require "bundler/setup" require "bundler/gem_tasks" require "rake/testtask" Rake::TestTask.new do |test| test.libs << "app/controllers" test.libs << "test" test.test_files = FileList["test/**/*_test.rb"] test.warning = false end task default: :test