diff options
Diffstat (limited to 'spec/support/shared_contexts/spam_constants.rb')
-rw-r--r-- | spec/support/shared_contexts/spam_constants.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared_contexts/spam_constants.rb b/spec/support/shared_contexts/spam_constants.rb index 32371f4b92f..813f9d00123 100644 --- a/spec/support/shared_contexts/spam_constants.rb +++ b/spec/support/shared_contexts/spam_constants.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -shared_context 'includes Spam constants' do +RSpec.shared_context 'includes Spam constants' do before do stub_const('CONDITIONAL_ALLOW', Spam::SpamConstants::CONDITIONAL_ALLOW) stub_const('DISALLOW', Spam::SpamConstants::DISALLOW) |