Sha256: 9985e5ce2a36569b11c39382bf5deeaf1e9ed35c78340ce90a0a2cda2ecf1142

Contents?: true

Size: 524 Bytes

Versions: 52

Compression:

Stored size: 524 Bytes

Contents

require 'core/spec_helper'

describe ZendeskAPI::Topic do
  def valid_attributes
    { 
      :forum_id => forum.id, :title => "My Topic",
      :body => "The mayan calendar ends December 31st. Coincidence? I think not."
    }
  end

  it_should_be_creatable
  it_should_be_updatable :title
  it_should_be_deletable :create => true
  it_should_be_readable :topics
  it_should_be_readable current_user, :topics
  it_should_be_readable forum, :topics
  #it_should_be_readable :topics, :show_many, :verb => :post, :ids => 
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
zendesk_api-1.2.10 spec/live/topic_spec.rb
zendesk_api-1.2.9 spec/live/topic_spec.rb
zendesk_api-0.3.14 spec/live/topic_spec.rb
zendesk_api-1.2.8 spec/live/topic_spec.rb
zendesk_api-1.2.7 spec/live/topic_spec.rb
zendesk_api-1.3.4 spec/live/topic_spec.rb
zendesk_api-1.3.2 spec/live/topic_spec.rb
zendesk_api-1.3.1 spec/live/topic_spec.rb
zendesk_api-1.3.0 spec/live/topic_spec.rb
zendesk_api-1.3.0.rc3 spec/live/topic_spec.rb
zendesk_api-1.2.6 spec/live/topic_spec.rb
zendesk_api-1.3.0.rc2 spec/live/topic_spec.rb
zendesk_api-1.3.0.rc1 spec/live/topic_spec.rb
zendesk_api-1.2.5 spec/live/topic_spec.rb
zendesk_api-1.2.4 spec/live/topic_spec.rb
zendesk_api-1.2.3 spec/live/topic_spec.rb
zendesk_api-1.2.2 spec/live/topic_spec.rb
zendesk_api-1.2.1 spec/live/topic_spec.rb
zendesk_api-1.1.3 spec/live/topic_spec.rb
zendesk_api-1.1.2 spec/live/topic_spec.rb