Sha256: 483279349e2398525d5fadb959e21f65bda7f2d263c112e115a9e23439c390ef

Contents?: true

Size: 613 Bytes

Versions: 2

Compression:

Stored size: 613 Bytes

Contents

require 'spec_helper'

describe LinkedIn::API::Groups do
  describe '#jobs' do
    it "should be able to list group memberships for a profile" do
      pending "https://api.linkedin.com/v1/people/~/group-memberships"
      subject.group_memberships
    end

    it "should be able to join a group" do
      pending "https://api.linkedin.com/v1/people/~/group-memberships/123"

      response = subject.join_group(123)
      response.body.should == nil
      response.code.should == "201"
    end
    
    it "should raise AccessDeniedError when LinkedIn returns 403 status code" do
      pending
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
linkedin2-0.0.3 spec/api/groups_spec.rb
linkedin2-0.0.2 spec/api/groups_spec.rb