Sha256: 696b877fe204628eb71368bb34dcf521940f99cd0b527998a2d8cc0fb0a75f05

Contents?: true

Size: 365 Bytes

Versions: 2

Compression:

Stored size: 365 Bytes

Contents

require 'spec_helper'

describe "Smartdc::Api::Datasets" do
  describe ".find" do
    it "should return some datasets" do
      client.datasets.find.count.should > 0
    end
  end

  describe ".read" do
    it "should return a dataset" do
      datasets = client.datasets.find
      client.datasets(datasets[0].id).read.id.should eq datasets[0].id
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
smartdc-0.4.0 spec/smartdc/api/datasets_spec.rb
smartdc-0.3.0 spec/smartdc/api/datasets_spec.rb