Sha256: 35631c5775a92022c14387ba9a05ff0ae34d3c87e7b4eedb447f6d41b39706fd

Contents?: true

Size: 470 Bytes

Versions: 12

Compression:

Stored size: 470 Bytes

Contents

require '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

12 entries across 12 versions & 1 rubygems

Version Path
zendesk_api-0.1.11 live/group_membership_spec.rb
zendesk_api-0.1.10 live/group_membership_spec.rb
zendesk_api-0.1.9 live/group_membership_spec.rb
zendesk_api-0.1.8 live/group_membership_spec.rb
zendesk_api-0.1.7 live/group_membership_spec.rb
zendesk_api-0.1.6 live/group_membership_spec.rb
zendesk_api-0.1.5 live/group_membership_spec.rb
zendesk_api-0.1.4 live/group_membership_spec.rb
zendesk_api-0.1.3 live/group_membership_spec.rb
zendesk_api-0.1.2 live/group_membership_spec.rb
zendesk_api-0.1.1 live/group_membership_spec.rb
zendesk_api-0.0.9 live/group_membership_spec.rb