keyword mute: Add missing scope for regex escape test

lolsob-rspec
David Yip 2018-06-12 17:48:38 -05:00
parent b8205550dd
commit a130fcf7a9
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ RSpec.describe Glitch::KeywordMute, type: :model do
it 'escapes metacharacters in non-whole-word keywords' do
Glitch::KeywordMute.create!(account: alice, keyword: '(-', whole_word: false)
expect(matcher.matches?('bad (-)')).to be_truthy
expect(matcher.matches?('bad (-)', Unscoped)).to be_truthy
end
it 'uses case-folding rules appropriate for more than just English' do