This website requires JavaScript.
Explore
Help
Sign In
IntenseWebs
/
discourse
Watch
3
Star
0
Fork
0
You've already forked discourse
mirror of
https://github.com/discourse/discourse.git
synced
2024-12-01 13:09:33 -06:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
61d14a7694
discourse
/
spec
/
fabricators
/
ignored_user_fabricator.rb
7 lines
103 B
Ruby
Raw
Normal View
History
Unescape
Escape
DEV: use #frozen_string_literal: true on all spec This change both speeds up specs (less strings to allocate) and helps catch cases where methods in Discourse are mutating inputs. Overall we will be migrating everything to use #frozen_string_literal: true it will take a while, but this is the first and safest move in this direction
2019-04-29 19:27:42 -05:00
# frozen_string_literal: true
FEATURE: Introduce Ignore user (#7072)
2019-02-27 07:49:07 -06:00
Fabricator
(
:ignored_user
)
do
user
DEV: Cleanup ignored user logic (#11107) - IgnoredUser records should all now have an expiring_at value. This commit enforces that in the DB, and fixes any corrupt rows - Changes to the ignored user list are now handled by the `/u/{username}/notification_level` endpoint. This allows setting expiration dates on the ignore. This commit removes the old logic for saving a list of usernames in the user preferences. - Many specs were calling `IgnoredUser.create`. This commit changes them to use `Fabricate(:ignored_user)` for consistency
2020-11-03 06:38:54 -06:00
expiring_at
4
.
months
.
from_now
FEATURE: Introduce Ignore user (#7072)
2019-02-27 07:49:07 -06:00
end
Reference in New Issue
Copy Permalink