Sha256: c2637a5d3ea2df5c8463e292a79aae2d0fd2d0bb996ada7920e6ace9f53ba46d
Contents?: true
Size: 896 Bytes
Versions: 5
Compression:
Stored size: 896 Bytes
Contents
# encoding: utf-8 require 'spec_helper' require 'open3' describe "./bin/quandl" do let(:command){ self.class.superclass.description } subject{ quandl(command) } context "help" do its(:stdout){ should match 'http://quandl.com/ command line interface' } its(:stderr){ should be_blank } end context "upload spec/fixtures/data/metadata.qdf" do its(:stdout){ should match /Created|OK/ } its(:stderr){ should be_blank } end context "download TEST_1" do its(:stdout){ should match 'The description of TEST_1 is here' } its(:stderr){ should be_blank } end context "delete TEST_1 TEST_5 TEST_15 --force-yes" do its(:stdout){ should match 'OK' } end context "info" do its(:stdout){ should match ENV['QUANDL_TEST_URL'] } its(:stderr){ should be_blank } end context "list" do its(:stderr){ should be_blank } end end
Version data entries
5 entries across 5 versions & 1 rubygems