Sha256: a8d19cc6b0b88215da58d71d69f5ac2b88444cf3ff8d79a4aa456c4a35a9400f
Contents?: true
Size: 869 Bytes
Versions: 7
Compression:
Stored size: 869 Bytes
Contents
require 'gooddata/commands/datawarehouse' describe GoodData::Command::DataWarehouse do before(:each) do @client = ConnectionHelper.create_default_connection end after(:each) do @client.disconnect end it "Is Possible to create GoodData::Command::DataWarehouse instance" do cmd = GoodData::Command::DataWarehouse.new() cmd.should be_a(GoodData::Command::DataWarehouse) end it "Can create a data warehouse" do title = 'my warehouse' summary = 'hahahaha' dwh = nil begin dwh = GoodData::Command::DataWarehouse.create(title: title, summary: summary, token: ConnectionHelper::GD_PROJECT_TOKEN, client: @client) expect(dwh.title).to eq(title) expect(dwh.summary).to eq(summary) expect(dwh.id).not_to be_nil expect(dwh.status).to eq('ENABLED') ensure dwh.delete if dwh end end end
Version data entries
7 entries across 7 versions & 1 rubygems