class HrJobsTest

Public Instance Methods

test_() click to toggle source
# File test/test_hr_jobs.rb, line 17
def test_
  api = Upwork::Api::Routers::Hr::Jobs.new(get_client_mock)
  assert api.get_specific('key')
end
test_delete_job() click to toggle source
# File test/test_hr_jobs.rb, line 32
def test_delete_job
  api = Upwork::Api::Routers::Hr::Jobs.new(get_client_mock)
  assert api.delete_job('key', {})
end
test_edit_job() click to toggle source
# File test/test_hr_jobs.rb, line 27
def test_edit_job
  api = Upwork::Api::Routers::Hr::Jobs.new(get_client_mock)
  assert api.edit_job('key', {})
end
test_list() click to toggle source
# File test/test_hr_jobs.rb, line 12
def test_list
  api = Upwork::Api::Routers::Hr::Jobs.new(get_client_mock)
  assert api.get_list({})
end
test_post_job() click to toggle source
# File test/test_hr_jobs.rb, line 22
def test_post_job
  api = Upwork::Api::Routers::Hr::Jobs.new(get_client_mock)
  assert api.post_job({})
end