Sha256: 075fa2eb475b28aac3669b44b9b65e37fbe7ad9992512ab3d1d760ed381336a6

Contents?: true

Size: 475 Bytes

Versions: 12

Compression:

Stored size: 475 Bytes

Contents

require 'spec_helper'

describe ZendeskAPI::Forum, :delete_after do
  def valid_attributes
    { :name => "My Forum", :forum_type => "articles", :access => "logged-in users", :category_id => category.id }
  end

  it_should_be_creatable
  it_should_be_updatable :name
  # Forum delete jobs are queued, so don't look for it
  it_should_be_deletable :find => false
  it_should_be_readable :forums, :create => true
  it_should_be_readable category, :forums, :create => true
end

Version data entries

12 entries across 12 versions & 1 rubygems

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