Sha256: 612ed4e712781bbbf7f835bb1e51d20a15a07a1381ee7a894e9740de2b8d7149

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2018 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 GoodData::Process do
  before(:all) do
    @rest_client = ConnectionHelper.create_default_connection
    @suffix = AppstoreProjectHelper.suffix
    @project = ProjectHelper.get_default_project client: @rest_client
  end

  describe '.deploy_component' do
    let(:name) { 'test component' }

    it 'deploys etl pluggable component' do
      component_data = {
        name: name,
        type: :etl,
        component: {
          name: 'gdc-etl-sql-executor',
          version: '1'
        }
      }
      component = GoodData::Process.deploy_component component_data,
                                                     client: @rest_client,
                                                     project: @project
      expect(component.name).to eq name
      expect(component.type).to eq :etl
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gooddata-1.1.0-java spec/integration/models/process_spec.rb
gooddata-1.1.0 spec/integration/models/process_spec.rb