Sha256: 581bdea5035ef5b6e87e6563294cde857bc8d0ce52b3b39854fb1aafee886843
Contents?: true
Size: 768 Bytes
Versions: 5
Compression:
Stored size: 768 Bytes
Contents
# encoding: utf-8 require 'spec_helper' replace_string = "source_code: BLAKEHIL\ncode: SCRAPER_TEST_1394485290783983\nname: Untitled Dataset 2014-04-04 13:08:49\ndescription: This dataset has no description.\nprivate: false\nreference_url: \nfrequency: daily\n-\nDate,High,Low,Settle\n2014-03-11,9.958,11.0,13.92\n\n" describe "./bin/quandl replace" do let(:prefix){ "replace" } let(:command){ self.class.superclass.description } subject{ quandl( [prefix, command].flatten.join(" ") ) } context data_path("replace.qdf") do its(:stdout){ should match /OK|Created/ } its(:stderr){ should be_blank } end context "SCRAPER_TEST_1394485290783983" do let(:prefix){ "download" } its(:stdout){ should eq replace_string } end end
Version data entries
5 entries across 5 versions & 1 rubygems