Add tests for sitemaps controller
This commit is contained in:
parent
7ce4f820c4
commit
67b4698b5e
|
@ -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
|
Loading…
Reference in New Issue