Sha256: 47015dfe622b703b60697a7eb07b3b80efca4189093bd032fad27bf2828abc14

Contents?: true

Size: 547 Bytes

Versions: 8

Compression:

Stored size: 547 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('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

8 entries across 8 versions & 1 rubygems

Version Path
odesk-api-0.2.7 test/test_activities_engagement.rb
odesk-api-0.2.6 test/test_activities_engagement.rb
odesk-api-0.2.5 test/test_activities_engagement.rb
odesk-api-0.2.4 test/test_activities_engagement.rb
odesk-api-0.2.3 test/test_activities_engagement.rb
odesk-api-0.2.2 test/test_activities_engagement.rb
odesk-api-0.2.1 test/test_activities_engagement.rb
odesk-api-0.1.6 test/test_activities_engagement.rb