Fix `Style/NumericLiterals` cop in ProfileStories support module (#28971)

main
Matt Jankowski 2024-01-30 10:38:33 -05:00 committed by GitHub
parent b3075a9993
commit 86fbde7b46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ module ProfileStories
account: Fabricate(:account, username: 'bob')
)
Web::Setting.where(user: bob).first_or_initialize(user: bob).update!(data: { introductionVersion: 201812160442020 }) if finished_onboarding # rubocop:disable Style/NumericLiterals
Web::Setting.where(user: bob).first_or_initialize(user: bob).update!(data: { introductionVersion: 2018_12_16_044202 }) if finished_onboarding
end
def as_a_logged_in_user