Sha256: ff6e60c198a85946f30f16474ca24a488ac0cfd355c0dd2f36672995b7afb840

Contents?: true

Size: 449 Bytes

Versions: 4

Compression:

Stored size: 449 Bytes

Contents

require 'core/spec_helper'

describe ZendeskAPI::DynamicContent::Item::Variant, :delete_after do
  def valid_attributes
    {
      :locale_id => 127,
      :active => true,
      :default => false,
      :content => 'Mon dieu!'
    }
  end

  under dynamic_content_item do
    it_should_be_readable dynamic_content_item, :variants, :create => true
    it_should_be_creatable
    it_should_be_updatable :content
    it_should_be_deletable
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zendesk_api-1.5.1 spec/live/dynamic_content/variant_spec.rb
zendesk_api-1.5.0 spec/live/dynamic_content/variant_spec.rb
zendesk_api-1.4.6 spec/live/dynamic_content/variant_spec.rb
zendesk_api-1.4.5 spec/live/dynamic_content/variant_spec.rb