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.1.1 spec/live/group_membership_spec.rb
zendesk_api-1.1.0 spec/live/group_membership_spec.rb
zendesk_api-1.0.7 spec/live/group_membership_spec.rb
zendesk_api-1.0.6 spec/live/group_membership_spec.rb
zendesk_api-1.0.5 spec/live/group_membership_spec.rb
zendesk_api-1.0.4 spec/live/group_membership_spec.rb
zendesk_api-1.0.3 spec/live/group_membership_spec.rb
zendesk_api-1.0.2 spec/live/group_membership_spec.rb
zendesk_api-1.0.1 spec/live/group_membership_spec.rb
zendesk_api-1.0.0 spec/live/group_membership_spec.rb
zendesk_api-0.3.13 spec/live/group_membership_spec.rb
zendesk_api-0.3.12 spec/live/group_membership_spec.rb
zendesk_api-0.4.0.rc3 spec/live/group_membership_spec.rb
zendesk_api-0.4.0.rc2 spec/live/group_membership_spec.rb
zendesk_api-0.3.11 spec/live/group_membership_spec.rb
zendesk_api-0.3.10 spec/live/group_membership_spec.rb
zendesk_api-0.3.9 spec/live/group_membership_spec.rb
zendesk_api-0.3.8 spec/live/group_membership_spec.rb
zendesk_api-0.4.0.rc1 spec/live/group_membership_spec.rb
zendesk_api-0.3.7 spec/live/group_membership_spec.rb