Sha256: e03d459cca98cf3e9d87edea45295b72b6835bb49f7a53d13d8052c8d82b0790

Contents?: true

Size: 591 Bytes

Versions: 28

Compression:

Stored size: 591 Bytes

Contents

# frozen_string_literal: true

RSpec.describe 'connector', :vcr do

  # Spec describes the most commons blocks of an connector. Remove describes that you don't need.
  # 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 }

  it { expect(connector).to be_present }

  describe 'test' do
    subject(:output) { connector.test(settings) }

    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/connector_spec.rb.erb
workato-connector-sdk-0.4.1 templates/spec/connector_spec.rb.erb
workato-connector-sdk-0.4.0 templates/spec/connector_spec.rb.erb
workato-connector-sdk-0.3.0 templates/spec/connector_spec.rb.erb
workato-connector-sdk-0.2.0 templates/spec/connector_spec.rb.erb
workato-connector-sdk-0.1.2 templates/spec/connector_spec.rb.erb
workato-connector-sdk-0.1.1 templates/spec/connector_spec.rb.erb
workato-connector-sdk-0.1.0 templates/spec/connector_spec.rb.erb