Sha256: 8b20a3733e2a643120844de0da60d208930bfad394d48342cb463ee20de2b01d
Contents?: true
Size: 467 Bytes
Versions: 47
Compression:
Stored size: 467 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Dataset do let(:dataset){ create(:dataset, source_code: "QUANDL_CLIENT_TEST_SOURCE" ) } it "should find the dataset by id" do Dataset.find(dataset.id).id.should eq dataset.id end it "should find the dataset by full code" do Dataset.find(dataset.full_code).id.should eq dataset.id end it "should exclude_data" do Dataset.find(dataset.id).attributes[:data].should be_blank end end
Version data entries
47 entries across 47 versions & 1 rubygems