Add tests for sitemaps controller

This commit is contained in:
Erik Michaels-Ober 2011-05-15 11:30:32 -07:00
parent 7ce4f820c4
commit 67b4698b5e
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
require 'test_helper'
class SitemapsControllerTest < ActionController::TestCase
test 'should return an XML sitemap' do
get :index, :format => 'xml'
assert_response :success
end
end