Update rubocop and rubocop-rspec (#26329)
This commit is contained in:
parent
fe31571965
commit
b970ed6098
15 changed files with 48 additions and 74 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue