Skip to content

Commit

Permalink
DEV: Cleanup PostActionType and ReviewableScore changes in tests
Browse files Browse the repository at this point in the history
Followup to 2df388f
  • Loading branch information
davidtaylorhq committed Jul 6, 2020
1 parent 7a6d772 commit da0fc0a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/components/plugin/instance_spec.rb
Expand Up @@ -555,6 +555,11 @@ def register_locale(locale, opts)
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
Expand Down

0 comments on commit da0fc0a

Please sign in to comment.