Sha256: e3a9043b996436f0e0f85d6f93aea8f82f67be3c696ffe06d8909f67bedc6c7f

Contents?: true

Size: 637 Bytes

Versions: 5

Compression:

Stored size: 637 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|OK/ }
  end
  
  context "download SUPERSET_EXAMPLE" do
    its(:stdout){ should match /SUPERSET_EXAMPLE/ }
  end
  
  context "delete SUPERSET_EXAMPLE" do
    its(:stdout){ should match /OK/ }
  end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
quandl-0.3.7 spec/lib/quandl/command/superset_spec.rb
quandl-0.3.6 spec/lib/quandl/command/superset_spec.rb
quandl-0.3.4 spec/lib/quandl/command/superset_spec.rb
quandl-0.3.3 spec/lib/quandl/command/superset_spec.rb
quandl-0.3.0 spec/lib/quandl/command/superset_spec.rb