\fef
This commit is contained in:
@@ -2,10 +2,10 @@ require 'spec_helper'
|
||||
|
||||
describe PagesController, type: :controller do
|
||||
describe 'sitemap' do
|
||||
it 'returns a proper sitemap' do
|
||||
create_pages_tree
|
||||
get :sitemap, format: 'xml'
|
||||
expect( response.body ).to include "<loc>http://test.host/en/child2.2</loc>"
|
||||
end
|
||||
it 'returns a proper sitemap' do
|
||||
create_pages_tree
|
||||
get :sitemap, format: 'xml'
|
||||
expect( response.body ).to include "<loc>http://test.host/en/child2.2</loc>"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user