mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 02:11:08 -06:00
DEV: Fix broken discourse_ip_info_spec
(#27439)
This is a follow-up to 781a5f60ea
This commit is contained in:
parent
cbc0076d74
commit
0b8e6e7d1d
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
RSpec.describe DiscourseIpInfo do
|
RSpec.describe DiscourseIpInfo do
|
||||||
describe ".mmdb_download" do
|
describe ".mmdb_download" do
|
||||||
|
before { Discourse::Utils.stubs(:execute_command) }
|
||||||
|
|
||||||
it "should download the MaxMind databases from MaxMind's download permalinks when `maxmind_license_key` and `maxmind_account_id` global setting has been set" do
|
it "should download the MaxMind databases from MaxMind's download permalinks when `maxmind_license_key` and `maxmind_account_id` global setting has been set" do
|
||||||
global_setting :maxmind_license_key, "license_key"
|
global_setting :maxmind_license_key, "license_key"
|
||||||
global_setting :maxmind_account_id, "account_id"
|
global_setting :maxmind_account_id, "account_id"
|
||||||
|
Loading…
Reference in New Issue
Block a user