Sha256: 0b6bc6ec527878f01a53eb0273083177ff84ecb60053eaff31ebaeb85864718f

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

require 'spec_helper'

describe DPLibrary::DocumentCollection do
  subject do
    DPLibrary.stub(:api_key).and_return('bb9ec047f463cd046c8a26c4237a3349')
    DPLibrary::DocumentCollection.new({q: 'chicken'})
  end

  context '.new', :vcr do
    it { should_not be nil }
  end

  context '#set_method' do
    its(:count) { should be_kind_of(Integer) }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
DPLibrary-0.0.2 spec/DPLibrary/item_spec.rb
DPLibrary-0.0.1 spec/DPLibrary/item_spec.rb