Correct spec

This commit is contained in:
Sam 2018-11-15 15:42:16 +11:00
parent e7001f879a
commit 8e55e61a2e
1 changed files with 4 additions and 0 deletions

View File

@ -268,6 +268,10 @@ RSpec.describe Admin::BackupsController do
describe "#email" do
it "enqueues email job" do
# might as well test this here if we really want www.example.com
SiteSetting.force_hostname = "www.example.com"
create_backup_files(backup_filename)
expect {