Sha256: b73990363d9efb647d1bb83aaeb4494d1e491c620956f32ddba01bcb9e7c441d

Contents?: true

Size: 625 Bytes

Versions: 3

Compression:

Stored size: 625 Bytes

Contents

describe LinkedIn::API::Groups do
  describe '#jobs' do
  end

  context 'todo' 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
      pass
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
linkedin2-0.0.19 spec/api/groups_spec.rb
linkedin2-0.0.18 spec/api/groups_spec.rb
linkedin2-0.0.17 spec/api/groups_spec.rb