Sha256: c6e95e699b20bfe0092403bf2f0900d120a3552d00d8b30565f3129d231f225f

Contents?: true

Size: 519 Bytes

Versions: 12

Compression:

Stored size: 519 Bytes

Contents

require '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

12 entries across 12 versions & 1 rubygems

Version Path
zendesk_api-0.1.11 live/topic_spec.rb
zendesk_api-0.1.10 live/topic_spec.rb
zendesk_api-0.1.9 live/topic_spec.rb
zendesk_api-0.1.8 live/topic_spec.rb
zendesk_api-0.1.7 live/topic_spec.rb
zendesk_api-0.1.6 live/topic_spec.rb
zendesk_api-0.1.5 live/topic_spec.rb
zendesk_api-0.1.4 live/topic_spec.rb
zendesk_api-0.1.3 live/topic_spec.rb
zendesk_api-0.1.2 live/topic_spec.rb
zendesk_api-0.1.1 live/topic_spec.rb
zendesk_api-0.0.9 live/topic_spec.rb