Sha256: 9caf611fb94f4a4f18ab8474d90605720bd005f8b7ae6b9fc0ec4eb03d3c90fa
Contents?: true
Size: 470 Bytes
Versions: 4
Compression:
Stored size: 470 Bytes
Contents
require 'rake/testtask' test_task = if Rails.version.to_f < 3.2 require 'rails/test_unit/railtie' Rake::TestTask else require 'rails/test_unit/sub_test_task' Rails::SubTestTask end namespace :test do test_task.new(:presenters => "test:prepare") do |t| t.libs << "test" t.pattern = "test/presenters/**/*_test.rb" end end if Rake::Task.task_defined?('test:run') Rake::Task['test:run'].enhance do Rake::Task['test:presenters'].invoke end end
Version data entries
4 entries across 4 versions & 1 rubygems