DEV: Cleanup PostActionType and ReviewableScore changes in tests

Followup to 2df388ffd7
This commit is contained in:
David Taylor 2020-07-06 17:09:56 +01:00
parent 7a6d772ad2
commit da0fc0a9d3
No known key found for this signature in database
GPG Key ID: 46904C18B1D3F434

View File

@ -555,6 +555,11 @@ describe Plugin::Instance do
end end
describe '#replace_flags' do describe '#replace_flags' do
after do
PostActionType.replace_flag_settings(nil)
ReviewableScore.reload_types
end
let(:original_flags) { PostActionType.flag_settings } let(:original_flags) { PostActionType.flag_settings }
it 'adds a new flag' do it 'adds a new flag' do