We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6f4a28 commit a6adf34Copy full SHA for a6adf34
spec/requests/sitemaps_spec.rb
@@ -13,6 +13,10 @@
13
describe "GET /sitemap-pages.xml" do
14
it "renders sitemap" do
15
pages = Page.upsert_collection_from_sitepress!(limit: 3)
16
+ pages.each.with_index do |page, i|
17
+ page.update(published_at: (i + 1).days.ago)
18
+ end
19
+
20
get sitemap_pages_path(format: :xml)
21
22
expect(response).to have_http_status(200)
0 commit comments