Sha256: 6144d43fca9cd3052dd8eb0398960a8088eb73f555a049c5a654d2f1bf4a6d8f

Contents?: true

Size: 525 Bytes

Versions: 4

Compression:

Stored size: 525 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

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 /Updated|Created/ }
    its(:stderr){ should be_blank }
  end
  
  context "SCRAPER_TEST_1394485290783983" do
    let(:prefix){ "download" }
    
    its(:stdout){ should match "code: SCRAPER_TEST_1394485290783983" }
    
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

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