Sha256: dad214f58d22b7e222220f1e1b8b8613bcd6ebcbbb08007c70e86bde325ae8ad
Contents?: true
Size: 398 Bytes
Versions: 5
Compression:
Stored size: 398 Bytes
Contents
require 'spec_helper' describe Spud::Cms::SitemapsController do describe :show do it "should return the sitemap urls" do get :show, :format => :xml assigns(:pages).should == SpudPage.published_pages.public.order(:spud_page_id) end it "should only respond to an XML format" do get :show response.response_code.should == 406 end end end
Version data entries
5 entries across 5 versions & 1 rubygems