Sha256: c9598be8e8a29a30b0b89e401e37e4b5f1af230a454e8ec5d4f6f38a290b1392
Contents?: true
Size: 555 Bytes
Versions: 5
Compression:
Stored size: 555 Bytes
Contents
require 'spec_helper' describe Spud::Inquiries::SitemapsController do describe :show do before(:each) do Spud::Core.configure do |config| config.site_name = "Test Site" config.multisite_mode_enabled = false config.multisite_config = [] end end it "should return the sitemap urls" do get :show, :format => :xml assigns(:forms).should == SpudInquiryForm.all 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