Sha256: b329106a6da56db2092f750094e76ab96336870e3b2edea948e1d5edd0fb6f3c

Contents?: true

Size: 647 Bytes

Versions: 5

Compression:

Stored size: 647 Bytes

Contents

# encoding: utf-8
require 'spec_helper'
require 'open3'
require 'quandl/client'
require 'quandl/format'

describe "./bin/quandl superset" do

  let(:command){ self.class.superclass.description }
  subject{ quandl("superset #{command}") }
  
  context "new" do
    its(:stdout){ should match Quandl::Client::Superset.example.to_qdf }
  end
  
  context "upload spec/fixtures/superset.qdf" do
    its(:stdout){ should match /Created|Updated/ }
  end
  
  context "download SUPERSET_EXAMPLE" do
    its(:stdout){ should match /SUPERSET_EXAMPLE/ }
  end
  
  context "delete SUPERSET_EXAMPLE" do
    its(:stdout){ should match /Deleted/ }
  end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
quandl-0.4.4 spec/lib/quandl/command/superset_spec.rb
quandl-0.4.3 spec/lib/quandl/command/superset_spec.rb
quandl-0.4.2 spec/lib/quandl/command/superset_spec.rb
quandl-0.4.1 spec/lib/quandl/command/superset_spec.rb
quandl-0.4.0 spec/lib/quandl/command/superset_spec.rb