Sha256: 837b95e63790277e8c964e955b8f33d028a5f5eb38e1ba36313ba0a12ef32618
Contents?: true
Size: 359 Bytes
Versions: 4
Compression:
Stored size: 359 Bytes
Contents
require "rake/testtask" klass = nil if Rails.version[0,3] == "3.0" require 'rails/test_unit/railtie' klass = Rake::TestTask else require "rails/test_unit/sub_test_task" klass = Rails::SubTestTask end namespace :test do klass.new(:decorators => "test:prepare") do |t| t.libs << "test" t.pattern = "test/decorators/**/*_test.rb" end end
Version data entries
4 entries across 4 versions & 1 rubygems