Sha256: 2a03b1ccbd395dd6ef24e7210c5deaccdf1fd5d81001cfd29d857eee786dc5dc

Contents?: true

Size: 614 Bytes

Versions: 13

Compression:

Stored size: 614 Bytes

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

require 'gooddata/helpers/csv_helper'

describe GoodData::Helpers::Csv do
  describe '#read' do
    it 'Reads data from CSV file' do
      GoodData::Helpers::Csv.read(:path => CsvHelper::CSV_PATH_IMPORT)
    end
  end

  describe '#write' do
    it 'Writes data to CSV' do
      data = []
      GoodData::Helpers::Csv.write(:path => CsvHelper::CSV_PATH_EXPORT, :data => data)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gooddata-1.1.0-java spec/unit/helpers/csv_helper_spec.rb
gooddata-1.1.0 spec/unit/helpers/csv_helper_spec.rb
gooddata-1.0.2-java spec/unit/helpers/csv_helper_spec.rb
gooddata-1.0.2 spec/unit/helpers/csv_helper_spec.rb
gooddata-1.0.1 spec/unit/helpers/csv_helper_spec.rb
gooddata-1.0.1-java spec/unit/helpers/csv_helper_spec.rb
gooddata-1.0.0-java spec/unit/helpers/csv_helper_spec.rb
gooddata-1.0.0 spec/unit/helpers/csv_helper_spec.rb
gooddata-0.6.54 spec/unit/helpers/csv_helper_spec.rb
gooddata-0.6.53 spec/unit/helpers/csv_helper_spec.rb
gooddata-0.6.52 spec/unit/helpers/csv_helper_spec.rb
gooddata-0.6.51 spec/unit/helpers/csv_helper_spec.rb
gooddata-0.6.50 spec/unit/helpers/csv_helper_spec.rb