PageRenderTime 445ms CodeModel.GetById 442ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 1ms

/tools/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2/test/test_rake_clean.rb

http://github.com/agross/netopenspace
Ruby | 12 lines | 11 code | 1 blank | 0 comment | 0 complexity | e7bf2da6ce68df1eaf7e722f09d97c61 MD5 | raw file
 1require File.expand_path('../helper', __FILE__)
 2require 'rake/clean'
 3
 4class TestRakeClean < Rake::TestCase
 5  include Rake
 6  def test_clean
 7    assert Task['clean'], "Should define clean"
 8    assert Task['clobber'], "Should define clobber"
 9    assert Task['clobber'].prerequisites.include?("clean"),
10      "Clobber should require clean"
11  end
12end