Disable that darned discobot

This commit is contained in:
Chris Beach 2017-10-16 12:48:26 +01:00
parent 943343ffa4
commit 173f090c4f
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ module DiscourseDonations
let(:body) { JSON.parse(response.body) }
before do
SiteSetting.stubs(:disable_discourse_narrative_bot_welcome_post).returns(true)
SiteSetting.stubs(:discourse_donations_secret_key).returns('secret-key-yo')
SiteSetting.stubs(:discourse_donations_description).returns('charity begins at discourse plugin')
SiteSetting.stubs(:discourse_donations_currency).returns('AUD')