Sha256: 2caf289008ec955ae86ff3da0af6ae958d4e3f1018214cd42930d3c43e7f4ad2

Contents?: true

Size: 570 Bytes

Versions: 4

Compression:

Stored size: 570 Bytes

Contents

$:.unshift 'lib'
$LOAD_PATH << File.dirname(__FILE__)

require 'helper'
require 'odesk/api/routers/activities/engagement'
require 'test/unit'
require 'mocha/test_unit'

class ActivitiesEngagementTest < Test::Unit::TestCase
  include TestHelper
  
  def test_get_specific
    api = Odesk::Api::Routers::Activities::Engagement.new(get_client_mock)
    assert api.get_specific('company', 'team', '1234', {})
  end
  
  def test_assign
    api = Odesk::Api::Routers::Activities::Engagement.new(get_client_mock)
    assert api.assign('company', 'team', '1234', {})
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
odesk-api-0.1.5 test/test_activities_engagement.rb
odesk-api-0.1.4 test/test_activities_engagement.rb
odesk-api-0.1.3 test/test_activities_engagement.rb
odesk-api-0.1.2 test/test_activities_engagement.rb