Sha256: 07ab9d6278ae45e86533e8209b2e2f6d66a01caa45e6a208f9783ac17581c3ca

Contents?: true

Size: 540 Bytes

Versions: 2

Compression:

Stored size: 540 Bytes

Contents

# frozen_string_literal: true

#
# Copyright (c) 2019-present, Blue Marble Payroll, LLC
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#

require 'spec_helper'

describe ::Hashematics::RecordSet do
  let(:csv_rows) { csv_fixture('data.csv') }

  let(:record_set) { described_class.new }

  subject { record_set }

  specify '#rows returns the original dataset' do
    csv_rows.each { |row| subject.add(row) }

    expect(subject.rows).to eq(csv_rows)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hashematics-1.1.0 spec/hashematics/record_set_spec.rb
hashematics-1.0.0 spec/hashematics/record_set_spec.rb