Sha256: f9d9740721942af47c1c8ed0da1ce438aedc3eee8e00385443d8a66fe2c6dd67
Contents?: true
Size: 466 Bytes
Versions: 10
Compression:
Stored size: 466 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 it "should only respond to an XML format" do get :show response.response_code.should == 406 end end end
Version data entries
10 entries across 10 versions & 1 rubygems