Sha256: d393a5f19b5e3594ed9c466d23a4fb7a774b243678a615d89de1cd1d9f71018b

Contents?: true

Size: 832 Bytes

Versions: 11

Compression:

Stored size: 832 Bytes

Contents

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

require 'helper'
require 'odesk/api/routers/metadata'
require 'test/unit'
require 'mocha/test_unit'

class MetadataTest < Test::Unit::TestCase
  include TestHelper
  
  def test_get_tests
    api = Odesk::Api::Routers::Metadata.new(get_client_mock)
    assert api.get_tests
  end
  
  def test_get_regions
    api = Odesk::Api::Routers::Metadata.new(get_client_mock)
    assert api.get_regions
  end
    
  def test_get_skills
    api = Odesk::Api::Routers::Metadata.new(get_client_mock)
    assert api.get_skills
  end
    
  def test_get_categories
    api = Odesk::Api::Routers::Metadata.new(get_client_mock)
    assert api.get_categories
  end
    
  def test_get_reasons
    api = Odesk::Api::Routers::Metadata.new(get_client_mock)
    assert api.get_reasons({})
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
odesk-api-0.2.4 test/test_metadata.rb
odesk-api-0.2.3 test/test_metadata.rb
odesk-api-0.2.2 test/test_metadata.rb
odesk-api-0.2.1 test/test_metadata.rb
odesk-api-0.1.6 test/test_metadata.rb
odesk-api-0.1.5 test/test_metadata.rb
odesk-api-0.1.4 test/test_metadata.rb
odesk-api-0.1.3 test/test_metadata.rb
odesk-api-0.1.2 test/test_metadata.rb
odesk-api-0.1.1 test/test_metadata.rb
odesk-api-0.1.0 test/test_metadata.rb