Sha256: f20d2427d3363dbc63bd980d2a22112379075d66b624128ca8ffaed9d090b481
Contents?: true
Size: 454 Bytes
Versions: 8
Compression:
Stored size: 454 Bytes
Contents
require 'spec_helper' describe SitemapGenerator::Builder::SitemapIndexUrl do before :all do @s = SitemapGenerator::Builder::SitemapIndexFile.new( :sitemaps_path => 'sitemaps/', :host => 'http://test.com', :filename => 'sitemap_index.xml.gz' ) end it "should return the correct url" do @u = SitemapGenerator::Builder::SitemapUrl.new(@s) @u[:loc].should == 'http://test.com/sitemaps/sitemap_index.xml.gz' end end
Version data entries
8 entries across 8 versions & 1 rubygems