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/controllers/admin | |
parent | dbc6d7b276aa1ccc085f76caa43cc091311af6b7 (diff) |
Autofix Rubocop RSpec/EmptyLineAfterSubject (#23719)
Diffstat (limited to 'spec/controllers/admin')
-rw-r--r-- | spec/controllers/admin/reports/actions_controller_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/admin/reports/actions_controller_spec.rb b/spec/controllers/admin/reports/actions_controller_spec.rb index 9890ac9ce..db3a1d311 100644 --- a/spec/controllers/admin/reports/actions_controller_spec.rb +++ b/spec/controllers/admin/reports/actions_controller_spec.rb @@ -123,11 +123,13 @@ describe Admin::Reports::ActionsController do context 'action as submit button' do subject { post :create, params: { report_id: report.id, text: text, action => '' } } + it_behaves_like 'all action types' end context 'action as submit button' do subject { post :create, params: { report_id: report.id, text: text, moderation_action: action } } + it_behaves_like 'all action types' end end |