Sha256: f718a7125979b4431e50f30735a129f4d42acc7ffc7540bfd788bae62c4165e6

Contents?: true

Size: 549 Bytes

Versions: 20

Compression:

Stored size: 549 Bytes

Contents

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

require 'helper'
require 'upwork/api/routers/reports/finance/accounts'
require 'test/unit'
require 'mocha/test_unit'

class ReportsFinanceAccountsTest < Test::Unit::TestCase
  include TestHelper
  
  def test_get_owned
    api = Upwork::Api::Routers::Reports::Finance::Accounts.new(get_client_mock)
    assert api.get_owned('12', {})
  end
  
  def test_get_specific
    api = Upwork::Api::Routers::Reports::Finance::Accounts.new(get_client_mock)
    assert api.get_specific('12', {})
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
ruby-upwork-oauth2-2.2.0 test/test_reports_finance_accounts.rb
ruby-upwork-oauth2-2.1.4 test/test_reports_finance_accounts.rb
ruby-upwork-oauth2-2.1.3 test/test_reports_finance_accounts.rb
upwork-api-1.3.5 test/test_reports_finance_accounts.rb
ruby-upwork-oauth2-2.1.2 test/test_reports_finance_accounts.rb
upwork-api-1.3.4 test/test_reports_finance_accounts.rb
ruby-upwork-oauth2-2.1.1 test/test_reports_finance_accounts.rb
ruby-upwork-oauth2-2.1.0 test/test_reports_finance_accounts.rb
upwork-api-1.3.3 test/test_reports_finance_accounts.rb
upwork-api-1.3.2 test/test_reports_finance_accounts.rb
upwork-api-1.3.1 test/test_reports_finance_accounts.rb
ruby-upwork-oauth2-2.0.1 test/test_reports_finance_accounts.rb
ruby-upwork-oauth2-2.0.0 test/test_reports_finance_accounts.rb
upwork-api-1.3.0 test/test_reports_finance_accounts.rb
upwork-api-1.2.2 test/test_reports_finance_accounts.rb
upwork-api-1.2.1 test/test_reports_finance_accounts.rb
upwork-api-1.2.0 test/test_reports_finance_accounts.rb
upwork-api-1.1.0 test/test_reports_finance_accounts.rb
upwork-api-1.0.1 test/test_reports_finance_accounts.rb
upwork-api-1.0.0 test/test_reports_finance_accounts.rb