diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-18 17:10:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-19 07:10:19 +0900 |
commit | 3680e032b43e9701c0bc1f3ed5238e58cd6b7ac8 (patch) | |
tree | 5b43508887a079727af5c70d4b2ba2557acde7db /spec/models | |
parent | 2177daeae92b77be6797ba8f2ab6ebe1e641e078 (diff) |
Autofix Rubocop RSpec/EmptyLineAfterFinalLet (#23707)
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/account_spec.rb | 1 | ||||
-rw-r--r-- | spec/models/account_statuses_cleanup_policy_spec.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/models/account_spec.rb b/spec/models/account_spec.rb index 6cd769dc8..694432a1e 100644 --- a/spec/models/account_spec.rb +++ b/spec/models/account_spec.rb @@ -3,6 +3,7 @@ require 'rails_helper' RSpec.describe Account, type: :model do context do let(:bob) { Fabricate(:account, username: 'bob') } + subject { Fabricate(:account) } describe '#suspend!' do diff --git a/spec/models/account_statuses_cleanup_policy_spec.rb b/spec/models/account_statuses_cleanup_policy_spec.rb index f11684516..d3c011b3a 100644 --- a/spec/models/account_statuses_cleanup_policy_spec.rb +++ b/spec/models/account_statuses_cleanup_policy_spec.rb @@ -134,6 +134,7 @@ RSpec.describe AccountStatusesCleanupPolicy, type: :model do describe '#invalidate_last_inspected' do let(:account_statuses_cleanup_policy) { Fabricate(:account_statuses_cleanup_policy, account: account) } let(:status) { Fabricate(:status, id: 10, account: account) } + subject { account_statuses_cleanup_policy.invalidate_last_inspected(status, action) } before do |