Sha256: a051a070ba794fe887b207e486f409dbb3dc3e2ef78766e46c35442e24f85432

Contents?: true

Size: 931 Bytes

Versions: 3

Compression:

Stored size: 931 Bytes

Contents

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

  context 'todo' do
    it "should be able to view a job listing" do
      pending "https://api.linkedin.com/v1/jobs/id=1586"
      subject.job(:id => 1586)
    end

    it "should be able to view its job bookmarks" do
      pending "https://api.linkedin.com/v1/people/~/job-bookmarks"
      subject.job_bookmarks
    end

    it "should be able to view its job suggestion" do
      pending "https://api.linkedin.com/v1/people/~/suggestions/job-suggestions"
      subject.job_suggestions
    end

    it "should be able to add a bookmark" do
      pending "https://api.linkedin.com/v1/people/~/job-bookmarks"
      response = subject.add_job_bookmark(:id => 1452577)
      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/jobs_spec.rb
linkedin2-0.0.18 spec/api/jobs_spec.rb
linkedin2-0.0.17 spec/api/jobs_spec.rb