diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-19 20:46:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 02:46:00 +0100 |
commit | bd1d57c2303b7a5df1af749d8851c9364a044e77 (patch) | |
tree | ea47ed0f4686c482c846154660590d756f23ae1b /spec/models/admin | |
parent | dbc6d7b276aa1ccc085f76caa43cc091311af6b7 (diff) |
Autofix Rubocop RSpec/EmptyLineAfterSubject (#23719)
Diffstat (limited to 'spec/models/admin')
-rw-r--r-- | spec/models/admin/account_action_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/admin/account_action_spec.rb b/spec/models/admin/account_action_spec.rb index b6a052b76..4516df2c2 100644 --- a/spec/models/admin/account_action_spec.rb +++ b/spec/models/admin/account_action_spec.rb @@ -5,6 +5,7 @@ RSpec.describe Admin::AccountAction, type: :model do describe '#save!' do subject { account_action.save! } + let(:account) { Fabricate(:user, role: UserRole.find_by(name: 'Admin')).account } let(:target_account) { Fabricate(:account) } let(:type) { 'disable' } |