Sha256: feee3f19ecf78caf6253c8e6d542513bd8210f40d4b3e284567d7960e84afca6

Contents?: true

Size: 513 Bytes

Versions: 6

Compression:

Stored size: 513 Bytes

Contents

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

require 'helper'
require 'upwork/api/routers/workdiary'
require 'test/unit'
require 'mocha/test_unit'

class WorkdiaryTest < Test::Unit::TestCase
  include TestHelper
  
  def test_get
    api = Upwork::Api::Routers::Workdiary.new(get_client_mock)
    assert api.get('company', '20140101', {})
  end
  
  def test_get_by_contract
    api = Upwork::Api::Routers::Workdiary.new(get_client_mock)
    assert api.get_by_contract('1234', '20140101', {})
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
upwork-api-1.3.5 test/test_workdiary.rb
upwork-api-1.3.4 test/test_workdiary.rb
upwork-api-1.3.3 test/test_workdiary.rb
upwork-api-1.3.2 test/test_workdiary.rb
upwork-api-1.3.1 test/test_workdiary.rb
upwork-api-1.3.0 test/test_workdiary.rb