Sha256: 534c2a4f19bf920d392454c452aa0630d3c3d7ecfd27fa12ef8019af424066f1

Contents?: true

Size: 475 Bytes

Versions: 92

Compression:

Stored size: 475 Bytes

Contents

require 'core/spec_helper'

describe ZendeskAPI::GroupMembership, :delete_after do
  before :all do
    VCR.use_cassette("delete_existing_group_memberships_create") do
      agent.group_memberships.each(&:destroy)
    end
  end

  def valid_attributes
    { :group_id => group.id, :user_id => agent.id }
  end

  it_should_be_creatable
  it_should_be_deletable
  it_should_be_readable :group_memberships
  it_should_be_readable agent, :group_memberships, :create => true
end

Version data entries

92 entries across 92 versions & 1 rubygems

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