Fix RSpec/ContextWording cop (#24739)
This commit is contained in:
parent
cf18cc2891
commit
710745e16b
105 changed files with 559 additions and 668 deletions
|
@ -146,13 +146,13 @@ describe Admin::Reports::ActionsController do
|
|||
end
|
||||
end
|
||||
|
||||
context 'action as submit button' do
|
||||
context 'with Action as submit button' do
|
||||
subject { post :create, params: common_params.merge({ action => '' }) }
|
||||
|
||||
it_behaves_like 'all action types'
|
||||
end
|
||||
|
||||
context 'action as submit button' do
|
||||
context 'with Action as submit button' do
|
||||
subject { post :create, params: common_params.merge({ moderation_action: action }) }
|
||||
|
||||
it_behaves_like 'all action types'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue