Sha256: 7f2763af47dbca576c2303ca2849072bd134de4c98cfe7596f212a972d4a5995

Contents?: true

Size: 410 Bytes

Versions: 69

Compression:

Stored size: 410 Bytes

Contents

require 'core/spec_helper'

describe ZendeskAPI::Target, :delete_after do
  def valid_attributes
    {
      :type => "email_target",
      :title => "Test Email Target",
      :email =>  "hello@example.com",
      :subject => "Test Target"
    }
  end

  it_should_be_readable :targets, :create => :true
  it_should_be_creatable
  it_should_be_updatable :email, "bye@example.com"
  it_should_be_deletable
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
zendesk_api-1.13.1 spec/live/target_spec.rb
zendesk_api-1.12.1 spec/live/target_spec.rb
zendesk_api-1.12.0 spec/live/target_spec.rb
zendesk_api-1.11.7 spec/live/target_spec.rb
zendesk_api-1.11.6 spec/live/target_spec.rb
zendesk_api-1.11.5 spec/live/target_spec.rb
zendesk_api-1.11.4 spec/live/target_spec.rb
zendesk_api-1.11.3 spec/live/target_spec.rb
zendesk_api-1.11.2 spec/live/target_spec.rb
zendesk_api-1.11.1 spec/live/target_spec.rb
zendesk_api-1.11.0 spec/live/target_spec.rb
zendesk_api-1.10.0 spec/live/target_spec.rb
zendesk_api-1.9.6 spec/live/target_spec.rb
zendesk_api-1.9.5 spec/live/target_spec.rb
zendesk_api-1.9.4 spec/live/target_spec.rb
zendesk_api-1.9.3 spec/live/target_spec.rb
zendesk_api-1.9.2 spec/live/target_spec.rb
zendesk_api-1.9.1 spec/live/target_spec.rb
zendesk_api-1.9.0 spec/live/target_spec.rb
zendesk_api-1.8.0 spec/live/target_spec.rb