mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 05:03:39 +08:00
DEV: Cleanup PostActionType and ReviewableScore changes in tests
Followup to 2df388ffd7
This commit is contained in:
parent
7a6d772ad2
commit
da0fc0a9d3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user