Sha256: b79eced239ef2c98abeae3a25b3416b1b086ce7d8f090181b93e483aeea3a7dd
Contents?: true
Size: 880 Bytes
Versions: 1
Compression:
Stored size: 880 Bytes
Contents
require 'gooddata' require 'gooddata/commands/projects' require 'pry' describe GoodData::Command::Projects, :constraint => 'slow' do GD_PROJECT_TOKEN = ENV["GD_PROJECT_TOKEN"] before(:all) do @blueprint = GoodData::Model::ProjectBlueprint.from_json("./spec/data/test_project_model_spec.json") @module_blueprint = GoodData::Model::ProjectBlueprint.from_json("./spec/data/additional_dataset_module.json") GoodData.connect("svarovsky+gem_tester@gooddata.com", "jindrisska") @project = GoodData::Command::Projects.build({:spec => @blueprint, :token => GD_PROJECT_TOKEN}) end after(:all) do @project.delete unless @project.nil? end it "should update the project" do @blueprint.merge!(@module_blueprint) GoodData.with_project(@project) do |p| GoodData::Command::Projects.update({:spec => @blueprint, :project => p}) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gooddata-0.6.0.pre10 | spec/project_build_and_update_spec.rb |