<commit_before>describe EmsObjectStorageController do
  include_examples :shared_examples_for_ems_object_storage_controller, %w(openstack)

  describe '#show_list' do
    render_views

    it 'renders the Object Storage Managers Toolbar' do
      expect(ApplicationHelper::Toolbar::GtlView).to receive(:definition)
      post :show_list
    end
  end
end<commit_msg>Update spec test to check toolbar on Object Storage Managers page<commit_after>describe EmsObjectStorageController do
  include_examples :shared_examples_for_ems_object_storage_controller, %w(openstack)

  describe '#show_list' do
    render_views

    it 'renders the view and the Object Storage Managers toolbar' do
      expect(ApplicationHelper::Toolbar::GtlView).to receive(:definition).and_call_original
      expect(ApplicationHelper::Toolbar::EmsObjectStoragesCenter).to receive(:definition).and_call_original
      post :show_list
    end
  end
end
{'fraction_non_alphanumeric': 0.06500541711809317, 'fraction_numerical': 0.0, 'mean_word_length': 5.64748201438849, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4497899', 'n_tokens_mistral': 264, 'n_tokens_neox': 254, 'n_words': 64}