2020-04-21 15:21:10 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
shared_context 'includes Spam constants' do
|
2020-05-21 00:08:06 +00:00
|
|
|
before do
|
2020-05-26 03:08:02 +00:00
|
|
|
stub_const('CONDITIONAL_ALLOW', Spam::SpamConstants::CONDITIONAL_ALLOW)
|
2020-05-21 00:08:06 +00:00
|
|
|
stub_const('DISALLOW', Spam::SpamConstants::DISALLOW)
|
|
|
|
stub_const('ALLOW', Spam::SpamConstants::ALLOW)
|
2020-05-22 09:08:09 +00:00
|
|
|
stub_const('BLOCK_USER', Spam::SpamConstants::BLOCK_USER)
|
2020-05-21 00:08:06 +00:00
|
|
|
end
|
2020-04-21 15:21:10 +00:00
|
|
|
end
|