Sha256: fdd360cb4d54e84aeab3ddea702cc0fc0bb4dcb56cd15105ab37a4d4faab8e2f
Contents?: true
Size: 796 Bytes
Versions: 5
Compression:
Stored size: 796 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 check_manifest clean debug_gem default docs email gem install install_gem multi package post_news publish_docs release ridocs test test_deps 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
hoe-1.1.7 | test/test_hoe.rb |
hoe-1.1.3 | test/test_hoe.rb |
hoe-1.1.4 | test/test_hoe.rb |
hoe-1.1.5 | test/test_hoe.rb |
hoe-1.1.6 | test/test_hoe.rb |