create new rails rake task
Rakefile
1 2 namespace :test do 3 Rake::TestTask.new(:helpers) do |t| 4 t.libs << "test" 5 t.pattern = 'test/unit/helper/*_test.rb' 6 t.verbose = true 7 end 8 9 Rake::Task['test:helpers'].invoke 10 end
DZone Snippets > bublik > ROR
13462 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Voloshin Ruslan http://rubyclub.com.ua/
1 2 namespace :test do 3 Rake::TestTask.new(:helpers) do |t| 4 t.libs << "test" 5 t.pattern = 'test/unit/helper/*_test.rb' 6 t.verbose = true 7 end 8 9 Rake::Task['test:helpers'].invoke 10 end