mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Cleanup PostActionType and ReviewableScore changes in tests
Followup to 2df388ffd7
This commit is contained in:
@@ -555,6 +555,11 @@ describe Plugin::Instance do
|
||||
end
|
||||
|
||||
describe '#replace_flags' do
|
||||
after do
|
||||
PostActionType.replace_flag_settings(nil)
|
||||
ReviewableScore.reload_types
|
||||
end
|
||||
|
||||
let(:original_flags) { PostActionType.flag_settings }
|
||||
|
||||
it 'adds a new flag' do
|
||||
|
||||
Reference in New Issue
Block a user