diff options
author | David Yip <yipdw@member.fsf.org> | 2017-10-24 18:33:02 -0500 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2017-10-24 18:33:02 -0500 |
commit | 641f90e73adcc9718e610ec6c233d863e94fb92c (patch) | |
tree | 1a7ffc8fade7530d8f3434e80c2d1018cc45ea64 /spec | |
parent | f5a32839761f4951dc09ecbf207573183c6e2f80 (diff) |
Fix example description.
This example actually checks matches at the end of a string.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/glitch/keyword_mute_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/glitch/keyword_mute_spec.rb b/spec/models/glitch/keyword_mute_spec.rb index 95e59defc..1423823ba 100644 --- a/spec/models/glitch/keyword_mute_spec.rb +++ b/spec/models/glitch/keyword_mute_spec.rb @@ -48,7 +48,7 @@ RSpec.describe Glitch::KeywordMute, type: :model do expect(matcher =~ 'Take this').to be_truthy end - it 'matches keywords at the beginning of the text' do + it 'matches keywords at the end of the text' do Glitch::KeywordMute.create!(account: alice, keyword: 'take') expect(matcher =~ 'This is a hot take').to be_truthy |