Sha256: c2d2de1eee18f3d02eabb28e2dc4c56947e9ac1ce953f59b737538d98e7a34c2

Contents?: true

Size: 434 Bytes

Versions: 36

Compression:

Stored size: 434 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

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

Version data entries

36 entries across 36 versions & 1 rubygems

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