Sha256: 433b2dfdabc33537e079b967f8d412790b1e7f3a7580209a811ec6a6686a09fd
Contents?: true
Size: 598 Bytes
Versions: 1
Compression:
Stored size: 598 Bytes
Contents
require 'spec_helper' describe Teamwork::Client::Company do before(:each) { authenticate } context "#get_companies" do it "should respond" do expect(Teamwork.respond_to?(:get_companies)).to eq(true) end it "should get people" do expect(Teamwork.get_companies).to be_a(Array) end end context "#project_companies" do it "should respond" do expect(Teamwork.respond_to?(:project_companies)).to eq(true) end it "should get companies" do expect(Teamwork.project_companies(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/company_spec.rb |