Sha256: a95700961a4bf55feab59a34b235e43c91dcee2aab53030dd07cb2ab8ff37493
Contents?: true
Size: 1.16 KB
Versions: 11
Compression:
Stored size: 1.16 KB
Contents
# encoding: UTF-8 # # Copyright (c) 2010-2017 GoodData Corporation. All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. 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", broken: true 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
11 entries across 11 versions & 1 rubygems