class HrSubmissionsTest

Public Instance Methods

test_approve() click to toggle source
# File test/test_hr_submissions.rb, line 17
def test_approve
  api = Upwork::Api::Routers::Hr::Submissions.new(get_client_mock)
  assert api.approve('1234', {})
end
test_reject() click to toggle source
# File test/test_hr_submissions.rb, line 22
def test_reject
  api = Upwork::Api::Routers::Hr::Submissions.new(get_client_mock)
  assert api.reject('1234', {})
end
test_request_approval() click to toggle source
# File test/test_hr_submissions.rb, line 12
def test_request_approval
  api = Upwork::Api::Routers::Hr::Submissions.new(get_client_mock)
  assert api.request_approval({})
end