Sha256: ddd08d7a7ae5c960feec5376781dbfa63ca9d60c8447310389a2272d3b36e2bc

Contents?: true

Size: 309 Bytes

Versions: 2

Compression:

Stored size: 309 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe Quandl::Data::Enumerator do

  let(:data){ Quandl::Fabricate::Data.rand( nils: false, rows: 4, columns: 4 ) }
  subject { data }

  its(:to_h){ should be_a Hash }
  its(:count){ should eq 4 }

  describe "#==" do
    it{ should eq data.data_array }
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
quandl_data-1.1.2 spec/lib/quandl/data/enumerator_spec.rb
quandl_data-1.1.1 spec/lib/quandl/data/enumerator_spec.rb