Add 24 weeks to Community Wellness streak (#20396)
* add 24 as week option * Fix flaky spec --------- Co-authored-by: Mac Siri <krairit.siri@gmail.com>
This commit is contained in:
parent
88769c6a3c
commit
dde1b10ba6
2 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
module Badges
|
||||
class AwardCommunityWellness
|
||||
REWARD_STREAK_WEEKS = [1, 2, 4, 8, 16, 32].freeze
|
||||
REWARD_STREAK_WEEKS = [1, 2, 4, 8, 16, 24, 32].freeze
|
||||
|
||||
def self.call
|
||||
# These are the users 'eligible' to be awarded the badge
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ RSpec.describe "Sidebars" do
|
|||
end
|
||||
|
||||
before do
|
||||
article.update_columns(language: "en")
|
||||
user.follow(tag)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue