class HrContractsTest

Public Instance Methods

test_end_contract() click to toggle source
# File test/test_hr_contracts.rb, line 22
def test_end_contract
  api = Upwork::Api::Routers::Hr::Contracts.new(get_client_mock)
  assert api.end_contract('12', {})
end
test_restart_contract() click to toggle source
# File test/test_hr_contracts.rb, line 17
def test_restart_contract
  api = Upwork::Api::Routers::Hr::Contracts.new(get_client_mock)
  assert api.restart_contract('12', {})
end
test_suspend_contract() click to toggle source
# File test/test_hr_contracts.rb, line 12
def test_suspend_contract
  api = Upwork::Api::Routers::Hr::Contracts.new(get_client_mock)
  assert api.suspend_contract('12', {})
end