diff options
author | Ryan Davis <ryand@zenspider.com> | 2014-03-12 14:26:43 -0800 |
---|---|---|
committer | Ryan Davis <ryand@zenspider.com> | 2014-03-12 14:26:43 -0800 |
commit | 6ff62f15b3629f2fb4029ad0d1d78d50028b36c5 (patch) | |
tree | 895e7234bae582c0c9efdf1018605c7e3872ed1e /test | |
parent | ab0d04d2aaae44a7faadec92ee602fc20838b185 (diff) | |
download | hoe-6ff62f15b3629f2fb4029ad0d1d78d50028b36c5.tar.gz |
! Removed all references to rubyforge, including the rubyforge plugin.
[git-p4: depot-paths = "//src/hoe/dev/": change = 9260]
Diffstat (limited to 'test')
-rw-r--r-- | test/test_hoe.rb | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/test/test_hoe.rb b/test/test_hoe.rb index e1fbe4c..dac9f5f 100644 --- a/test/test_hoe.rb +++ b/test/test_hoe.rb @@ -205,13 +205,13 @@ class TestHoe < Minitest::Test def test_parse_urls_ary ary = ["* https://github.com/seattlerb/hoe", - "* http://seattlerb.rubyforge.org/hoe/", - "* http://seattlerb.rubyforge.org/hoe/Hoe.pdf", + "* http://docs.seattlerb.org/hoe/", + "* http://docs.seattlerb.org/hoe/Hoe.pdf", "* http://github.com/jbarnette/hoe-plugin-examples"].join "\n" exp = ["https://github.com/seattlerb/hoe", - "http://seattlerb.rubyforge.org/hoe/", - "http://seattlerb.rubyforge.org/hoe/Hoe.pdf", + "http://docs.seattlerb.org/hoe/", + "http://docs.seattlerb.org/hoe/Hoe.pdf", "http://github.com/jbarnette/hoe-plugin-examples"] assert_equal exp, hoe.parse_urls(ary) @@ -220,15 +220,15 @@ class TestHoe < Minitest::Test def test_parse_urls_hash hash = [ "home :: https://github.com/seattlerb/hoe", - "rdoc :: http://seattlerb.rubyforge.org/hoe/", - "doco :: http://seattlerb.rubyforge.org/hoe/Hoe.pdf", + "rdoc :: http://docs.seattlerb.org/hoe/", + "doco :: http://docs.seattlerb.org/hoe/Hoe.pdf", "other :: http://github.com/jbarnette/hoe-plugin-examples", ].join "\n" exp = { "home" => "https://github.com/seattlerb/hoe", - "rdoc" => "http://seattlerb.rubyforge.org/hoe/", - "doco" => "http://seattlerb.rubyforge.org/hoe/Hoe.pdf", + "rdoc" => "http://docs.seattlerb.org/hoe/", + "doco" => "http://docs.seattlerb.org/hoe/Hoe.pdf", "other" => "http://github.com/jbarnette/hoe-plugin-examples", } @@ -251,8 +251,8 @@ class TestHoe < Minitest::Test "home" => "http://www.zenspider.com/projects/hoe.html", "code" => "https://github.com/seattlerb/hoe", "bugs" => "https://github.com/seattlerb/hoe/issues", - "rdoc" => "http://seattlerb.rubyforge.org/hoe/", - "doco" => "http://seattlerb.rubyforge.org/hoe/Hoe.pdf", + "rdoc" => "http://docs.seattlerb.org/hoe/", + "doco" => "http://docs.seattlerb.org/hoe/Hoe.pdf", "other" => "http://github.com/jbarnette/hoe-plugin-examples", } @@ -274,7 +274,6 @@ class TestHoe < Minitest::Test assert_equal urls["home"], spec.homepage assert_equal ['--main', 'README.txt'], spec.rdoc_options assert_equal ['lib'], spec.require_paths - assert_equal 'blah', spec.rubyforge_project assert_equal Gem::RubyGemsVersion, spec.rubygems_version assert_match(/^Hoe.*Rakefiles$/, spec.summary) assert_equal files.grep(/^test/).sort, spec.test_files.sort @@ -286,9 +285,6 @@ class TestHoe < Minitest::Test ["rdoc", :development, "~> 4.0"], ] - expected << ["rubyforge", :development, ">= #{::RubyForge::VERSION}"] if - defined? ::RubyForge - assert_equal expected, deps.map { |dep| [dep.name, dep.type, dep.requirement.to_s] } |