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.6.1 spec/user_fields_spec.rb
zendesk2-1.5.17 spec/user_fields_spec.rb
zendesk2-1.5.16 spec/user_fields_spec.rb
zendesk2-1.5.15 spec/user_fields_spec.rb
zendesk2-1.5.14 spec/user_fields_spec.rb
zendesk2-1.5.13 spec/user_fields_spec.rb
zendesk2-1.5.12 spec/user_fields_spec.rb
zendesk2-1.5.11 spec/user_fields_spec.rb
zendesk2-1.5.10 spec/user_fields_spec.rb
zendesk2-1.5.9 spec/user_fields_spec.rb
zendesk2-1.5.8 spec/user_fields_spec.rb
zendesk2-1.5.7 spec/user_fields_spec.rb
zendesk2-1.5.6 spec/user_fields_spec.rb
zendesk2-1.5.5 spec/user_fields_spec.rb
zendesk2-1.5.4 spec/user_fields_spec.rb
zendesk2-1.5.3 spec/user_fields_spec.rb
zendesk2-1.4.2 spec/user_fields_spec.rb
zendesk2-1.4.1 spec/user_fields_spec.rb
zendesk2-1.4.0 spec/user_fields_spec.rb
zendesk2-1.3.3 spec/user_fields_spec.rb