Sha256: 1e91ffb2e08544b0b1cd5353f0db9494c7b447a9d26e7ab8cf694e84085f61b6

Contents?: true

Size: 346 Bytes

Versions: 5

Compression:

Stored size: 346 Bytes

Contents

require 'spec_helper'

describe SitemapsController do
  describe :show do
    it "should return the sitemap urls" do
      Spud::Core.sitemap_urls = [
        "http://www.google.com",
        "http://www.example.com"
      ]
      get :show, :format => :xml
      
      assigns(:sitemap_urls).should == Spud::Core.sitemap_urls
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tb_core-1.3.0.beta2 spec/controllers/sitemap_controllers_spec.rb
tb_core-1.3.0.beta1 spec/controllers/sitemap_controllers_spec.rb
tb_core-1.2.8 spec/controllers/sitemap_controllers_spec.rb
tb_core-1.2.7 spec/controllers/sitemap_controllers_spec.rb
tb_core-1.2.6 spec/controllers/sitemap_controllers_spec.rb