Sha256: d71b7051f983d72ee62c6c82ff457178dc2984570764518035044699e4ca8263
Contents?: true
Size: 759 Bytes
Versions: 2
Compression:
Stored size: 759 Bytes
Contents
require 'test/unit/testcase' require 'hoe' $rakefile = nil # shuts up a warning in rdoctask.rb class TestHoe < Test::Unit::TestCase def setup Rake.application.clear end ## # Yes, these tests suck, but it is damn hard to test this since # everything is forked out. def test_basics boring = %w(clobber clobber_docs clobber_package doc doc/index.html pkg pkg/blah-1.0.0 pkg/blah-1.0.0.gem pkg/blah-1.0.0.tgz redocs repackage) expected = %w(audit announce clean debug_gem default docs email gem install multi package post_news publish_docs release ridocs test uninstall) expected += boring Hoe.new('blah', '1.0.0') tasks = Rake.application.tasks.map { |t| t.name }.sort assert_equal expected.sort, tasks end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hoe-1.1.0 | test/test_hoe.rb |
hoe-1.0.5 | test/test_hoe.rb |