Sha256: 3e2aa9d2c1dcf0d32deed8fd1fc7ba6efda5649cf384f11fd95bb40e2a5046f5

Contents?: true

Size: 311 Bytes

Versions: 4

Compression:

Stored size: 311 Bytes

Contents

require 'spec_helper'

describe 'XmlSitemap' do
  it 'creates a Map via shortcut' do
    XmlSitemap.new('foo.com').should be_a XmlSitemap::Map
    XmlSitemap.map('foo.com').should be_a XmlSitemap::Map
  end
  
  it 'creates an Index via shortcut' do
    XmlSitemap.index.should be_a XmlSitemap::Index
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
xml-sitemap-1.2.2 spec/xmlsitemap_spec.rb
xml-sitemap-1.2.1 spec/xmlsitemap_spec.rb
xml-sitemap-1.2.0 spec/xmlsitemap_spec.rb
xml-sitemap-1.1.3 spec/xmlsitemap_spec.rb