mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:47:22 +08:00
Correct spec
This commit is contained in:
parent
e7001f879a
commit
8e55e61a2e
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user