Sha256: 816d4b84bc08f16a104c957eca7eb4c91c1af8bf85a27ea4c08781bef967aa0b

Contents?: true

Size: 576 Bytes

Versions: 1

Compression:

Stored size: 576 Bytes

Contents

require 'spec_helper'

describe Teamwork::Client::People do

  before(:each) { authenticate }

  context "#get_people" do

    it "should respond" do
      expect(Teamwork.respond_to?(:get_people)).to eq(true)
    end

    it "should get people" do
      expect(Teamwork.get_people).to be_a(Array)
    end

  end

  context "#project_people" do

    it "should respond" do
      expect(Teamwork.respond_to?(:project_people)).to eq(true)
    end

    it "should get people" do
      expect(Teamwork.project_people(Teamwork.projects.first.id)).to be_a(Array)
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
teamworkpm-2.0.0 spec/teamwork/client/people_spec.rb