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

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

Update spec test to check toolbar on Object Storage Managers page
Update spec test to check toolbar on Object Storage Managers page
