Sha256: 516e14f58fbd371361e0978e46fbafc2faab00b166699a4a4e91d307350bdb4d

Contents?: true

Size: 838 Bytes

Versions: 13

Compression:

Stored size: 838 Bytes

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'

describe 'Create project using GoodData client', :constraint => 'slow' do
  before(:all) do
    @client = ConnectionHelper.create_default_connection
  end

  after(:all) do
    @client.disconnect
  end

  it 'Should create project using GoodData::Rest::Client#create_project' do
    project_title = 'Test #create_project'
    begin
      project = @client.create_project(:title => project_title, :auth_token => ConnectionHelper::GD_PROJECT_TOKEN, environment: ProjectHelper::ENVIRONMENT)
      expect(project.title).to eq(project_title)
    ensure
      project.delete if project
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gooddata-1.1.0-java spec/integration/create_project_spec.rb
gooddata-1.1.0 spec/integration/create_project_spec.rb
gooddata-1.0.2-java spec/integration/create_project_spec.rb
gooddata-1.0.2 spec/integration/create_project_spec.rb
gooddata-1.0.1 spec/integration/create_project_spec.rb
gooddata-1.0.1-java spec/integration/create_project_spec.rb
gooddata-1.0.0-java spec/integration/create_project_spec.rb
gooddata-1.0.0 spec/integration/create_project_spec.rb
gooddata-0.6.54 spec/integration/create_project_spec.rb
gooddata-0.6.53 spec/integration/create_project_spec.rb
gooddata-0.6.52 spec/integration/create_project_spec.rb
gooddata-0.6.51 spec/integration/create_project_spec.rb
gooddata-0.6.50 spec/integration/create_project_spec.rb