Sha256: 3d5dc3d517147eed20c3c4dcde52f2b4f64b750cc961020ad3373d7044cea8ae

Contents?: true

Size: 375 Bytes

Versions: 26

Compression:

Stored size: 375 Bytes

Contents

require 'spec_helper'

describe "user_fields" do
  let(:client) { create_client }

  include_examples "zendesk resource", {
    :collection    => lambda { client.user_fields },
    :create_params => lambda { { title: mock_uuid, type: "text", key: "custom_#{SecureRandom.hex(3)}"} },
    :update_params => lambda { { title: mock_uuid } },
    :paged         => false,
  }
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
zendesk2-1.3.2 spec/user_fields_spec.rb
zendesk2-1.3.1 spec/user_fields_spec.rb
zendesk2-1.3.0 spec/user_fields_spec.rb
zendesk2-1.2.10 spec/user_fields_spec.rb
zendesk2-1.2.9 spec/user_fields_spec.rb
zendesk2-1.2.7 spec/user_fields_spec.rb