Sha256: bcfe9099925c852e2893b6ad543af286b22da57be892048fa5772716bb67b61a

Contents?: true

Size: 496 Bytes

Versions: 52

Compression:

Stored size: 496 Bytes

Contents

require 'core/spec_helper'

describe ZendeskAPI::Topic::TopicComment do
  def valid_attributes
    { :body => "Texty-text, text." }
  end

  under topic do
    it_should_be_creatable
    it_should_be_updatable :body
    it_should_be_deletable
    it_should_be_readable topic, :comments
  end
end

describe ZendeskAPI::User::TopicComment do
  def valid_attributes
    { :body => "Texty-text, text."}
  end

  under current_user do
    it_should_be_readable current_user, :topic_comments
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

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