test/test_hoe.rb in hoe-1.4.0 vs test/test_hoe.rb in hoe-1.5.0

- old
+ new

@@ -37,10 +37,16 @@ test test_deps uninstall) expected += boring - Hoe.new('blah', '1.0.0') + spec = Hoe.new('blah', '1.0.0') do |h| + h.developer("name", "email") + end + + assert_equal ["name"], spec.author + assert_equal ["email"], spec.email + tasks = Rake.application.tasks public_tasks = tasks.reject { |t| t.comment.nil? }.map { |t| t.name }.sort assert_equal expected.sort, public_tasks end