0
0
Fork 0

Update rubocop and rubocop-rspec (#26329)

This commit is contained in:
Nick Schonning 2023-08-22 03:31:40 -04:00 committed by GitHub
parent fe31571965
commit b970ed6098
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 48 additions and 74 deletions

View file

@ -31,9 +31,7 @@ describe ApplicationHelper do
context 'with a body class string from a controller' do
before do
without_partial_double_verification do
allow(helper).to receive(:body_class_string).and_return('modal-layout compose-standalone')
allow(helper).to receive(:current_theme).and_return('default')
allow(helper).to receive(:current_account).and_return(Fabricate(:account))
allow(helper).to receive_messages(body_class_string: 'modal-layout compose-standalone', current_theme: 'default', current_account: Fabricate(:account))
end
end