Sha256: f41e5a933463fd5e214707606e50cc13b76b5cb6c033177c582fd3653657d463

Contents?: true

Size: 416 Bytes

Versions: 16

Compression:

Stored size: 416 Bytes

Contents

require 'spec_helper'

describe "topics" do
  let(:client) { create_client }
  let(:forum)  { client.forums.create(name: Zendesk2.uuid) }

  include_examples "zendesk resource", {
    :collection    => lambda { client.topics },
    :create_params => lambda { { title: Zendesk2.uuid, body: Zendesk2.uuid, forum_id: forum.id } },
    :update_params => lambda { { title: Zendesk2.uuid, body: Zendesk2.uuid } },
  }
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
zendesk2-1.2.6 spec/topics_spec.rb
zendesk2-1.2.5 spec/topics_spec.rb
zendesk2-1.2.4 spec/topics_spec.rb
zendesk2-1.2.3 spec/topics_spec.rb
zendesk2-1.2.2 spec/topics_spec.rb
zendesk2-1.2.1 spec/topics_spec.rb
zendesk2-1.2.0 spec/topics_spec.rb
zendesk2-1.1.3 spec/topics_spec.rb
zendesk2-1.1.2 spec/topics_spec.rb
zendesk2-1.0.0 spec/topics_spec.rb
zendesk2-0.5.4 spec/topics_spec.rb
zendesk2-0.5.3 spec/topics_spec.rb
zendesk2-0.5.2 spec/topics_spec.rb
zendesk2-0.5.1 spec/topics_spec.rb
zendesk2-0.5.0 spec/topics_spec.rb
zendesk2-0.4.5 spec/topics_spec.rb