Sha256: 435adc2c5fd8a1365de37f16f6cf19fe99736f7373161118d2e6b9773917a147

Contents?: true

Size: 567 Bytes

Versions: 25

Compression:

Stored size: 567 Bytes

Contents

require 'spec_helper'

describe "help_center/sections" do
  let(:client)   { create_client }
  let!(:category) do
    client.help_center_categories.create!(name: mock_uuid,
                                          locale: "en-us",
                                         )
  end

  include_examples "zendesk resource", {
    :collection    => lambda { client.help_center_sections },
    :create_params => lambda { { name: mock_uuid, locale: "en-us", category: category } },
    :update_params => lambda { { name: mock_uuid } },
    :search        => false,
  }
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
zendesk2-1.5.17 spec/help_center/sections_spec.rb
zendesk2-1.5.16 spec/help_center/sections_spec.rb
zendesk2-1.5.15 spec/help_center/sections_spec.rb
zendesk2-1.5.14 spec/help_center/sections_spec.rb
zendesk2-1.5.13 spec/help_center/sections_spec.rb
zendesk2-1.5.12 spec/help_center/sections_spec.rb
zendesk2-1.5.11 spec/help_center/sections_spec.rb
zendesk2-1.5.10 spec/help_center/sections_spec.rb
zendesk2-1.5.9 spec/help_center/sections_spec.rb
zendesk2-1.5.8 spec/help_center/sections_spec.rb
zendesk2-1.5.7 spec/help_center/sections_spec.rb
zendesk2-1.5.6 spec/help_center/sections_spec.rb
zendesk2-1.5.5 spec/help_center/sections_spec.rb
zendesk2-1.5.4 spec/help_center/sections_spec.rb
zendesk2-1.5.3 spec/help_center/sections_spec.rb
zendesk2-1.4.2 spec/help_center/sections_spec.rb
zendesk2-1.4.1 spec/help_center/sections_spec.rb
zendesk2-1.4.0 spec/help_center/sections_spec.rb
zendesk2-1.3.3 spec/help_center/sections_spec.rb
zendesk2-1.3.2 spec/help_center/sections_spec.rb