Apply manual rubocop fixes
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user