Update rubocop and rubocop-rspec (#26329)
This commit is contained in:
parent
fe31571965
commit
b970ed6098
15 changed files with 48 additions and 74 deletions
|
@ -29,8 +29,7 @@ RSpec.describe TranslateStatusService, type: :service do
|
|||
end
|
||||
end
|
||||
|
||||
allow(TranslationService).to receive(:configured?).and_return(true)
|
||||
allow(TranslationService).to receive(:configured).and_return(translation_service)
|
||||
allow(TranslationService).to receive_messages(configured?: true, configured: translation_service)
|
||||
end
|
||||
|
||||
it 'returns translated status content' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue