FIX: the specs didn't get updated when plugin started using db

FIX: the specs didn’t get updated when plugin started using db

diff --git a/spec/requests/sitemap_controller_spec.rb b/spec/requests/sitemap_controller_spec.rb
index bed7ac0..fc58d74 100644
--- a/spec/requests/sitemap_controller_spec.rb
+++ b/spec/requests/sitemap_controller_spec.rb
@@ -4,6 +4,10 @@ require 'rails_helper'
 
 RSpec.describe DiscourseSitemap::SitemapController do
   describe '#default' do
+    before do
+      Sitemap.create!(name: '1', last_posted_at: Time.now)
+    end
+
     it 'does not fail then page is a string starting with a number' do
       get '/sitemap_1asd.xml'
 

GitHub sha: 555bb2bc