Sha256: 83de87211fccd4f189a85e937e501371c28695fe48ea945a9346c01539eccdce
Contents?: true
Size: 274 Bytes
Versions: 3
Compression:
Stored size: 274 Bytes
Contents
require 'spec_helper' describe 'XmlSitemap::Item' do it 'should raise ArgumentError if invalid :period value was passed' do proc { XmlSitemap::Item.new('hello', :period => :foobar) }. should raise_error ArgumentError, "Invalid :period value 'foobar'" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xml-sitemap-1.2.2 | spec/item_spec.rb |
xml-sitemap-1.2.1 | spec/item_spec.rb |
xml-sitemap-1.2.0 | spec/item_spec.rb |