Sha256: 440112065f63bbd4a75af6e2237fa00ffe45213e611cf0ab6e1f4d3e988e33ed
Contents?: true
Size: 643 Bytes
Versions: 1
Compression:
Stored size: 643 Bytes
Contents
require 'spec_helper' describe Teamwork::Client::File do before(:each) { authenticate } context "#get_file" do let(:file_id) { ENV["FILE_ID"] } it "should respond" do expect(Teamwork.respond_to?(:get_file)).to eq(true) end it "should get files" do expect(Teamwork.get_file(file_id)).to be_a(Teamwork::Thing) end end context "#project_files" do let(:project_id) { ENV["PROJECT_ID"] } let(:files) { Teamwork.project_files(project_id) } it "retrieves files" do expect(files).to be_a(Array) end it "isn't empty" do expect(files).to_not be_empty end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
teamworkpm-2.0.0 | spec/teamwork/client/file_spec.rb |