class HrMilestonesTest

Public Instance Methods

test_activate() click to toggle source
# File test/test_hr_milestones.rb, line 32
def test_activate
  api = Upwork::Api::Routers::Hr::Milestones.new(get_client_mock)
  assert api.activate('1234', {})
end
test_approve() click to toggle source
# File test/test_hr_milestones.rb, line 37
def test_approve
  api = Upwork::Api::Routers::Hr::Milestones.new(get_client_mock)
  assert api.approve('1234', {})
end
test_create() click to toggle source
# File test/test_hr_milestones.rb, line 22
def test_create
  api = Upwork::Api::Routers::Hr::Milestones.new(get_client_mock)
  assert api.create({})
end
test_delete() click to toggle source
# File test/test_hr_milestones.rb, line 42
def test_delete
  api = Upwork::Api::Routers::Hr::Milestones.new(get_client_mock)
  assert api.delete('1234')
end
test_edit() click to toggle source
# File test/test_hr_milestones.rb, line 27
def test_edit
  api = Upwork::Api::Routers::Hr::Milestones.new(get_client_mock)
  assert api.edit('1234', {})
end
test_get_active_milestone() click to toggle source
# File test/test_hr_milestones.rb, line 12
def test_get_active_milestone
  api = Upwork::Api::Routers::Hr::Milestones.new(get_client_mock)
  assert api.get_active_milestone('1234')
end
test_get_submissions() click to toggle source
# File test/test_hr_milestones.rb, line 17
def test_get_submissions
  api = Upwork::Api::Routers::Hr::Milestones.new(get_client_mock)
  assert api.get_submissions('1234')
end