Skip to content
Browse files

Dedup test names

  • Loading branch information...
1 parent 3af2f2d commit b382dd16374b9074c0344be23469539d744c14f0 @alexrabarts committed Mar 14, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/big_sitemap_test.rb
View
4 test/big_sitemap_test.rb
@@ -15,15 +15,15 @@ def teardown
assert_raise(ArgumentError) { BigSitemap.new(:document_root => tmp_dir) }
end
- should 'generate the same base URL' do
+ should 'generate the same base URL with :base_url option' do
options = {:document_root => tmp_dir}
url = 'http://example.com'
sitemap = BigSitemap.new(options.merge(:base_url => url))
assert_equal url, sitemap.instance_variable_get(:@options)[:base_url]
end
- should 'generate the same base URL' do
+ should 'generate the same base URL with :url_options option' do
options = {:document_root => tmp_dir}
url = 'http://example.com'
sitemap = BigSitemap.new(options.merge(:url_options => {:host => 'example.com'}))

0 comments on commit b382dd1

Please sign in to comment.
Something went wrong with that request. Please try again.