about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2017-10-24 18:33:02 -0500
committerDavid Yip <yipdw@member.fsf.org>2017-10-24 18:33:02 -0500
commit641f90e73adcc9718e610ec6c233d863e94fb92c (patch)
tree1a7ffc8fade7530d8f3434e80c2d1018cc45ea64
parentf5a32839761f4951dc09ecbf207573183c6e2f80 (diff)
Fix example description.
This example actually checks matches at the end of a string.
-rw-r--r--spec/models/glitch/keyword_mute_spec.rb2
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