class ReportsTimeTest

Public Instance Methods

test_get_by_agency() click to toggle source
# File test/test_reports_time.rb, line 22
def test_get_by_agency
  api = Upwork::Api::Routers::Reports::Time.new(get_client_mock)
  assert api.get_by_agency('company', 'agency', {})
end
test_get_by_company() click to toggle source
# File test/test_reports_time.rb, line 27
def test_get_by_company
  api = Upwork::Api::Routers::Reports::Time.new(get_client_mock)
  assert api.get_by_company('company', {})
end
test_get_by_freelancer_full() click to toggle source
# File test/test_reports_time.rb, line 37
def test_get_by_freelancer_full
  api = Upwork::Api::Routers::Reports::Time.new(get_client_mock)
  assert api.get_by_freelancer_full('freelancer_id', {})
end
test_get_by_freelancer_limited() click to toggle source
# File test/test_reports_time.rb, line 32
def test_get_by_freelancer_limited
  api = Upwork::Api::Routers::Reports::Time.new(get_client_mock)
  assert api.get_by_freelancer_limited('freelancer_id', {})
end
test_get_by_team_full() click to toggle source
# File test/test_reports_time.rb, line 12
def test_get_by_team_full
  api = Upwork::Api::Routers::Reports::Time.new(get_client_mock)
  assert api.get_by_team_full('company', 'team', {})
end
test_get_by_team_limited() click to toggle source
# File test/test_reports_time.rb, line 17
def test_get_by_team_limited
  api = Upwork::Api::Routers::Reports::Time.new(get_client_mock)
  assert api.get_by_team_limited('company', 'team', {})
end