Sha256: 7903738b751db476cc79ade38606fe24ab56da78d2fee9943d58970faabde254
Contents?: true
Size: 905 Bytes
Versions: 6
Compression:
Stored size: 905 Bytes
Contents
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 => lambda { client.help_center_articles }, :create_params => lambda { { title: mock_uuid, locale: "en-us", section: section } }, :update_params => lambda { { title: mock_uuid } }, :search_params => lambda { Cistern::Hash.slice(create_params, :title) }, :search => true, } end
Version data entries
6 entries across 6 versions & 1 rubygems