Sha256: ea175f85ef11affe60f152636fdcd819f5d83fdcebf80999f12f3619f4db1b84
Contents?: true
Size: 897 Bytes
Versions: 3
Compression:
Stored size: 897 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe 'help_center/articles' do let(:client) { create_client } let!(:section) do category = client.help_center_categories.create!(name: mock_uuid, locale: 'en-us') client.help_center_sections.create!(name: mock_uuid, locale: 'en-us', category: category) end include_examples 'zendesk#resource', collection: -> { client.help_center_articles }, create_params: -> { { title: mock_uuid, locale: 'en-us', section: section, permission_group_id: 0 } }, update_params: -> { { title: mock_uuid } }, search_params: -> { Cistern::Hash.slice(create_params, :title) }, search: true end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zendesk2-1.15.0 | spec/help_center/articles_spec.rb |
zendesk2-1.13.1 | spec/help_center/articles_spec.rb |
zendesk2-1.13.0 | spec/help_center/articles_spec.rb |