Skip to content

Commit

Permalink
FEATURE: default disable the plugin (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron authored Oct 24, 2023
1 parent 8b31b85 commit 3f70825
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/settings.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins:
post_voting_enabled:
client: true
default: true
default: false
post_voting_undo_vote_action_window:
default: 10
post_voting_comment_limit_per_post:
Expand Down
8 changes: 8 additions & 0 deletions spec/plugin_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# frozen_string_literal: true

RSpec.configure do |_|
# this is so that fabricators can fabricate
# since the creation of some models require
# the plugin to be turned on
SiteSetting.post_voting_enabled = true
end

0 comments on commit 3f70825

Please sign in to comment.