Sha256: 44cccb9a28185841a08ac268b60017fb7bd81fdfb60cb31fe0f958b71dabe942

Contents?: true

Size: 489 Bytes

Versions: 7

Compression:

Stored size: 489 Bytes

Contents

require 'minitest/autorun'
require_relative './common_setup_and_teardown.rb'

class PayrollAttendancesTest < Minitest::Test
  include CommonSetupAndTeardown

  def setup
    super("payroll_attendances")
  end

  def test_list_payroll_attendances
    listed_timecards = @api.list_payroll_attendances(2020, 1)
    assert_equal 200, listed_timecards[:status].to_i, listed_timecards.inspect

    # 戻り値が配列でないので、list_responce のスタブを作れません。
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tsubaiso-sdk-1.2.17 test/tsubaiso_sdk/test_payroll_attendances.rb
tsubaiso-sdk-1.2.16 test/tsubaiso_sdk/test_payroll_attendances.rb
tsubaiso-sdk-1.2.15 test/tsubaiso_sdk/test_payroll_attendances.rb
tsubaiso-sdk-1.2.14 test/tsubaiso_sdk/test_payroll_attendances.rb
tsubaiso-sdk-1.2.13 test/tsubaiso_sdk/test_payroll_attendances.rb
tsubaiso-sdk-1.2.12 test/tsubaiso_sdk/test_payroll_attendances.rb
tsubaiso-sdk-1.2.11 test/tsubaiso_sdk/test_payroll_attendances.rb