Sha256: 500224d15f5443198b646ae5aa0ef4e1d4d17f54e3dfce4282842dd1b4896b5d

Contents?: true

Size: 1.01 KB

Versions: 6

Compression:

Stored size: 1.01 KB

Contents

require 'gooddata/commands/datasets'

describe GoodData::Command::Datasets do
  before(:each) do
    ConnectionHelper::create_default_connection
    @cmd = GoodData::Command::Datasets.new()
  end

  after(:each) do
    GoodData.disconnect
  end

  it "Is Possible to create GoodData::Command::Datasets instance" do
    @cmd.should be_a(GoodData::Command::Datasets)
  end

  describe "#index" do
    it "Lists all datasets" do
      pending("GoodData::Command::Dataset#with_project not working")
      @cmd.index
    end
  end

  describe "#describe" do
    it "Describes dataset" do
      pending("GoodData::Command::Dataset#extract_option not working")
      @cmd.describe
    end
  end

  describe "#apply" do
    it "Creates a server-side model" do
      pending("GoodData::Command::Dataset#with_project not working")
      @cmd.apply
    end
  end

  describe "#load" do
    it "Loads a CSV file into an existing dataset" do
      pending("GoodData::Command::Dataset#with_project not working")
      @cmd.load
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gooddata-0.6.7 spec/unit/commands/command_dataset_spec.rb
gooddata-0.6.6 spec/unit/commands/command_dataset_spec.rb
gooddata-0.6.5 spec/unit/commands/command_dataset_spec.rb
gooddata-0.6.4 spec/unit/commands/command_dataset_spec.rb
gooddata-0.6.3 spec/unit/commands/command_dataset_spec.rb
gooddata-0.6.2 spec/unit/commands/command_dataset_spec.rb