Sha256: 3f73b229a6b9dcc7ff61efb86cf52b373d3868513753dda4cdb6805fef5178b4

Contents?: true

Size: 645 Bytes

Versions: 28

Compression:

Stored size: 645 Bytes

Contents

# frozen_string_literal: true

RSpec.describe 'object_definition/<%= name %>', :vcr do

  # Spec describes the most commons blocks of an object definition.
  # Learn more: https://docs.workato.com/developing-connectors/sdk/cli/reference/rspec-commands.html

  let(:connector) { Workato::Connector::Sdk::Connector.from_file('connector.rb', settings) }
  let(:settings) { Workato::Connector::Sdk::Settings.from_default_file }

  let(:object_definition) { connector.object_definitions.<%= name %> }

  describe 'fields' do
    subject(:schema_fields) { object_definition.fields(settings, config_fields) }

    pending 'add some examples'
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
workato-connector-sdk-0.5.0 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-0.4.1 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-0.4.0 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-0.3.0 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-0.2.0 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-0.1.2 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-0.1.1 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-0.1.0 templates/spec/object_definition_spec.rb.erb