diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-10-14 22:14:26 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2021-10-14 22:14:26 +0200 |
commit | b2eaf5562dd8378a7c83cc544885ea475d44f912 (patch) | |
tree | 1d79559ae73a8f658569a0a01459452c903bb34b /spec/models | |
parent | 7aec1bc30862b81de8dcb43b61f8fdd13c935ecd (diff) | |
parent | ec6eee96d0b398a99ba0abb9c1cf30c02729e52e (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts: - `README.md`: Upstream added some documentation in the README, but our README is pretty different and barebone. Kept our README.
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/account_statuses_cleanup_policy_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/account_statuses_cleanup_policy_spec.rb b/spec/models/account_statuses_cleanup_policy_spec.rb index 63e9c5d20..4732ad625 100644 --- a/spec/models/account_statuses_cleanup_policy_spec.rb +++ b/spec/models/account_statuses_cleanup_policy_spec.rb @@ -499,9 +499,9 @@ RSpec.describe AccountStatusesCleanupPolicy, type: :model do end end - context 'when policy is to keep statuses with more than 4 boosts' do + context 'when policy is to keep statuses with at least 5 boosts' do before do - account_statuses_cleanup_policy.min_reblogs = 4 + account_statuses_cleanup_policy.min_reblogs = 5 end it 'does not return the recent toot' do @@ -521,9 +521,9 @@ RSpec.describe AccountStatusesCleanupPolicy, type: :model do end end - context 'when policy is to keep statuses with more than 4 favs' do + context 'when policy is to keep statuses with at least 5 favs' do before do - account_statuses_cleanup_policy.min_favs = 4 + account_statuses_cleanup_policy.min_favs = 5 end it 'does not return the recent toot' do |