Apply manual rubocop fixes

This commit is contained in:
Sebastian Serth
2021-05-14 11:07:11 +02:00
parent 6cbecb5b39
commit da0a682ffb
109 changed files with 431 additions and 416 deletions

View File

@ -54,9 +54,10 @@ describe ConsumersController do
end
describe 'GET #index' do
let!(:consumers) { FactoryBot.create_pair(:consumer) }
before { get :index }
before do
FactoryBot.create_pair(:consumer)
get :index
end
expect_assigns(consumers: Consumer.all)
expect_status(200)