Sha256: 4922514f6df17eeb67e4979d95410feb43f3b306785225c8df2f5bb506caba75

Contents?: true

Size: 426 Bytes

Versions: 25

Compression:

Stored size: 426 Bytes

Contents

require 'core/spec_helper'

describe ZendeskAPI::Ticket::Audit do
  it_should_be_readable ticket, :audits

  describe ZendeskAPI::Ticket::Audit::Event, :vcr do
    it "should side-load events" do
      audit = ticket.audits(include: :users).first
      event = audit.events.first

      event.should be_instance_of(ZendeskAPI::Ticket::Audit::Event)
      event.author.should be_instance_of(ZendeskAPI::User)
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
zendesk_api-1.3.9 spec/live/audit_spec.rb
zendesk_api-1.3.8 spec/live/audit_spec.rb
zendesk_api-1.3.7 spec/live/audit_spec.rb
zendesk_api-1.2.10 spec/live/audit_spec.rb
zendesk_api-1.2.9 spec/live/audit_spec.rb
zendesk_api-1.2.8 spec/live/audit_spec.rb
zendesk_api-1.3.5 spec/live/audit_spec.rb
zendesk_api-1.2.7 spec/live/audit_spec.rb
zendesk_api-1.3.4 spec/live/audit_spec.rb
zendesk_api-1.3.2 spec/live/audit_spec.rb
zendesk_api-1.3.1 spec/live/audit_spec.rb
zendesk_api-1.3.0 spec/live/audit_spec.rb
zendesk_api-1.3.0.rc3 spec/live/audit_spec.rb
zendesk_api-1.2.6 spec/live/audit_spec.rb
zendesk_api-1.3.0.rc2 spec/live/audit_spec.rb
zendesk_api-1.3.0.rc1 spec/live/audit_spec.rb
zendesk_api-1.2.5 spec/live/audit_spec.rb
zendesk_api-1.2.4 spec/live/audit_spec.rb
zendesk_api-1.2.3 spec/live/audit_spec.rb
zendesk_api-1.2.2 spec/live/audit_spec.rb