Sha256: 15f508ac7fc233b3e66989a9bd93a740354ef0133b98d7ed2fbe678d5c8d32b1
Contents?: true
Size: 457 Bytes
Versions: 6
Compression:
Stored size: 457 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Quandl::Fabricate::Data do let(:data){ Quandl::Fabricate::Data.rand( rows: 4, columns: 5, nils: false ) } subject{ data } it{ should be_a Quandl::Data } its(:count){ should eq 4 } describe "#first" do subject{ data.first } its(:count){ should eq 6 } its([0]){ should be_a Integer } [1,2,3,4,5].each do |i| its([i]){ should be_a Float } end end end
Version data entries
6 entries across 6 versions & 1 rubygems