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

Version Path
draper-1.0.0.beta6 lib/draper/test/test_unit_integration.rb
draper-1.0.0.beta5 lib/draper/test/test_unit_integration.rb
draper-1.0.0.beta4 lib/draper/test/test_unit_integration.rb
draper-1.0.0.beta3 lib/draper/test/test_unit_integration.rb