class SnapshotTest

Public Instance Methods

test_delete_by_contract() click to toggle source
# File test/test_snapshot.rb, line 22
def test_delete_by_contract
  api = Upwork::Api::Routers::Snapshot.new(get_client_mock)
  assert api.delete_by_contract('contract', '20140101')
end
test_get_by_contract() click to toggle source
# File test/test_snapshot.rb, line 12
def test_get_by_contract
  api = Upwork::Api::Routers::Snapshot.new(get_client_mock)
  assert api.get_by_contract('contract', '20140101')
end
test_update_by_contract() click to toggle source
# File test/test_snapshot.rb, line 17
def test_update_by_contract
  api = Upwork::Api::Routers::Snapshot.new(get_client_mock)
  assert api.update_by_contract('contract', '20140101', {})
end