This website requires JavaScript.
Explore
Help
Sign In
UnionRoom
/
mastodon
Watch
1
Star
0
Fork
You've already forked mastodon
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
95a1fde6b6
mastodon
/
spec
/
models
/
custom_filter_spec.rb
7 lines
90 B
Ruby
Raw
Normal View
History
Unescape
Escape
Enable Style/FrozenStringLiteralComment for specs (#23790)
2023-02-21 18:55:31 -06:00
# frozen_string_literal: true
Keyword/phrase filtering (#7905) * Add keyword filtering GET|POST /api/v1/filters GET|PUT|DELETE /api/v1/filters/:id - Irreversible filters can drop toots from home or notifications - Other filters can hide toots through the client app - Filters use a phrase valid in particular contexts, expiration * Make sure expired filters don't get applied client-side * Add missing API methods * Remove "regex filter" from column settings * Add tests * Add test for FeedManager * Add CustomFilter test * Add UI for managing filters * Add streaming API event to allow syncing filters * Fix tests
2018-06-29 08:34:36 -05:00
require
'rails_helper'
Fix RSpec/InferredSpecType cop (#24736)
2023-05-03 22:49:53 -05:00
RSpec
.
describe
CustomFilter
do
Keyword/phrase filtering (#7905) * Add keyword filtering GET|POST /api/v1/filters GET|PUT|DELETE /api/v1/filters/:id - Irreversible filters can drop toots from home or notifications - Other filters can hide toots through the client app - Filters use a phrase valid in particular contexts, expiration * Make sure expired filters don't get applied client-side * Add missing API methods * Remove "regex filter" from column settings * Add tests * Add test for FeedManager * Add CustomFilter test * Add UI for managing filters * Add streaming API event to allow syncing filters * Fix tests
2018-06-29 08:34:36 -05:00
end