Update bundle (with newest rubocop version) and fix offenses

This commit is contained in:
Sebastian Serth
2022-01-03 18:11:17 +01:00
parent 57e32611ed
commit ea85519163
93 changed files with 968 additions and 985 deletions

View File

@ -3,7 +3,7 @@
require 'rails_helper'
describe Admin::DashboardController do
before { allow(controller).to receive(:current_user).and_return(FactoryBot.build(:admin)) }
before { allow(controller).to receive(:current_user).and_return(build(:admin)) }
describe 'GET #show' do
describe 'with format HTML' do