Sha256: 1d2f3ca4a52e716db04a43dd1500da06ada2531608a96cb5ea823f0c5e131815
Contents?: true
Size: 911 Bytes
Versions: 2
Compression:
Stored size: 911 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, environment: ProjectHelper::ENVIRONMENT, 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gooddata-0.6.20 | spec/integration/command_datawarehouse_spec.rb |
gooddata-0.6.19 | spec/integration/command_datawarehouse_spec.rb |