class WorkdaysTest

Public Instance Methods

test_get_by_company() click to toggle source
# File test/test_workdays.rb, line 12
def test_get_by_company
  api = Upwork::Api::Routers::Workdays.new(get_client_mock)
  assert api.get_by_company('company', '20140101', '20140131', {})
end
test_get_by_contract() click to toggle source
# File test/test_workdays.rb, line 17
def test_get_by_contract
  api = Upwork::Api::Routers::Workdays.new(get_client_mock)
  assert api.get_by_contract('1234', '20140101', '20140131', {})
end