Sha256: 0943caca09b8083733032fb37a7b4fa4b763e194b15cad9f5c6a35bc356bfaed

Contents?: true

Size: 596 Bytes

Versions: 8

Compression:

Stored size: 596 Bytes

Contents

require 'spec_helper'

describe 'Collection' do

  it '#new' do
    p = Puree::Collection.new(resource_type: :dataset)
    expect(p).to be_an_instance_of Puree::Collection
  end

  describe 'data retrieval' do
    before(:all) do
      endpoint = ENV['PURE_ENDPOINT']
      username = ENV['PURE_USERNAME']
      password = ENV['PURE_PASSWORD']
      @p = Puree::Collection.new(resource_type: :dataset)
      @p.get endpoint: endpoint,
             username: username,
             password: password
    end

    it '#UUID' do
      expect(@p.uuid).to be_an_instance_of(Array)
    end

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
puree-0.13.0 spec/collection.rb
puree-0.12.0 spec/collection.rb
puree-0.11.0 spec/collection.rb
puree-0.10.0 spec/collection.rb
puree-0.9.0 spec/collection.rb
puree-0.8.0 spec/collection.rb
puree-0.7.0 spec/collection.rb
puree-0.6.0 spec/collection.rb