Sha256: 700bcc792462e8ccfd9b9a1b6cc91ac846ed3ab0b95da84ccd3c573cd045a98d

Contents?: true

Size: 359 Bytes

Versions: 20

Compression:

Stored size: 359 Bytes

Contents

require "#{File.dirname(__FILE__)}/../spec_helper"

describe Bonsai::Sitemap do
  before :all do
    @sitemap = Bonsai::Sitemap.generate
  end
  
  it "should contain /" do
    @sitemap.should include "<loc>http://tinytree.info</loc>"
  end

  it "should not include /index" do
    @sitemap.should_not include "<loc>http://tinytree.info/index</loc>"
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
bonsai-1.4.9 spec/bonsai/sitemap_spec.rb
bonsai-1.4.8 spec/bonsai/sitemap_spec.rb
bonsai-1.4.7 spec/bonsai/sitemap_spec.rb
bonsai-1.4.6 spec/bonsai/sitemap_spec.rb
bonsai-1.4.5 spec/bonsai/sitemap_spec.rb
bonsai-1.4.4 spec/bonsai/sitemap_spec.rb
bonsai-1.4.3 spec/bonsai/sitemap_spec.rb
bonsai-1.4.2 spec/bonsai/sitemap_spec.rb
bonsai-1.4.1 spec/bonsai/sitemap_spec.rb
bonsai-1.3.2 spec/bonsai/sitemap_spec.rb
bonsai-1.3.1 spec/bonsai/sitemap_spec.rb
bonsai-1.3.0 spec/bonsai/sitemap_spec.rb
bonsai-1.2.0 spec/bonsai/sitemap_spec.rb
bonsai-1.1.6 spec/bonsai/sitemap_spec.rb
bonsai-1.1.5 spec/bonsai/sitemap_spec.rb
bonsai-1.1.4 spec/bonsai/sitemap_spec.rb
bonsai-1.1.3 spec/bonsai/sitemap_spec.rb
bonsai-1.1.2 spec/bonsai/sitemap_spec.rb
bonsai-1.1.1 spec/bonsai/sitemap_spec.rb
bonsai-1.1.0 spec/bonsai/sitemap_spec.rb