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-1.3.13 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.12 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.11 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.10 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.9 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.8 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.7 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.6 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.5 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.4 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.3 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.2 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.1 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.3.0 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.2.0 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.0.3 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.1.0 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.0.2 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.0.1 templates/spec/object_definition_spec.rb.erb
workato-connector-sdk-1.0.0 templates/spec/object_definition_spec.rb.erb